Resource optimization has always been a thrust area of research and as the Internet of Things IoT is the most talked about topic of the current era of technology it has become the need of the hour. Therefore the idea behind this book was to simplify the journey of those who aspire to understand resource optimization in the IoT. To this end included in this book are various realtimeoffline applications and algorithmscase studies in the fields of engineering computer science information security