This book is intended for those who do not have the time to read a lengthy book or tutorial. This book is a collection of algorithms and data structures, along with the code that explains them. This book is simple to understand…
DoublyLinkedList is a data structure that contains a head, tail and length property. Linked Lists consist of nodes, and each node has a value and a pointer to another node or null. The DoublyLinkedList is an extension of Link…
In a priority queue, each element has an associated priority. Elements with higher priorities are served before elements with lower priorities. In a priority queue, the element with the highest priority is served first. In Java…
This blog post I will show you how to implement did you mean by in JavaScript. This algorithm can be easily translated to any language like C# ,Java or python. The implementation of Did You Mean By can be done by using edit di…
Trie is a node-based data structure. It is used to implement word lookups. It is better than the use of HashTable because it can store efficiently sorted data and don’t have to use a sorting algorithm while retrieving data. We’…