This is the code repository for Hands-On Data Structures and Algorithms with Kotlin, published by Packt.
Level up your programming skills by understanding how Kotlin's data structure works
Data Structures and Algorithms are much more than theoretical concepts. Learning them gives you an ability to understand computational complexity, solve problems, and write efficient code. Kotlin Data structures and Algorithms enables you to write code that runs faster which is hugely important in web and mobile world. This book takes you through a pragmatic approach with techniques and real-world examples that you can use in your regular production environment.
This book covers the following exciting features:
- Understand the basic principles of algorithms, data structures, and measurement of complexity.
- Find out what general purpose data structures are, including arrays, linked lists, double ended linked lists, and so on.
- Get a grasp on the basics of abstract data types—stack, queue, and double ended queue.
- See how to use recursive functions and immutability while understanding and in terms of recursion.
- Handle reactive programming and its related data structures.
- Use binary search, sorting, and efficient sorting—quicksort and merge sort.
- Work with the important concept of trees and list all nodes of the tree, traversal of tree, search trees, and balanced search trees.
- Gain a better understanding of the concept of graphs, directed and undirected graphs, undirected trees, and much more.
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
val x = 10
val y = x * 2
for (i in 0..y) {
if (i % 2 == 0) {
println(“$i is Even”)
} else {
println(“$i is Odd”)
}
}
Following is what you need for this book: If you're a Kotlin developer who wants to learn the intricacies of implementing data structures and algorithms for scalable application development, this book is for you.
With the following software and hardware list you can run all code files present in the book (Chapter 1-9).
Chapter | Software required | OS required |
---|---|---|
1-9 | Basic IDE (IntelliJ IDEA/Eclipse) | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Chandra Sekhar Nayak is an experienced Java Developer with an extensive knowledge in Android development. He has done a lot of Android applications with larger user base. He is an active member of communities around Java and Android. Being a Kotlin enthusiast, he also created a Kotlin User Group in Bengaluru, India called BlrKotlin. He runs a YouTube channel called Chanse Code. In his spare time he loves writing blogs.
Rivu Chakraborty is a Google Certified Android Developer, Caster.io Instructor and a Kotlin Evangelist. With over 6 years of work experience; he is currently working as a Sr. Software Engineer (Android) at BYJU'S The Learning App. Rivu considers himself a Kotlin and Android enthusiast, cum evangelist. He has been using Kotlin since December 2015. Rivu created the KotlinKolkata User Group and before moving out to Bangalore, he had been the lead organiser for both Kotlin Kolkata User Group and GDG Kolkata. Along with organising events, he also speaks at events/conferences in India, including DroidJam India (India's premiere Android Conference) and a couple of DevFests. Rivu has authored multiple books on Kotlin and Android Development.
Reactive Programming in Kotlin
Click here if you have any feedback or suggestions.