Author: Dileep Pandey

  • Test Driven Problem Solving in Python

    Python is a great language for solving coding problems because of it’s easy to comprehend syntax, plethora of helpful functions, and in-build modules that can help you write tests instantly. One such testing library isย doctest. How to use doctest for coding problems? If you are familiar with writing docstrings inside a function to describe its purpose, arguments it expects,…

  • Deep Dive into Heaps

    What are Heaps? A Heap is a specialized tree-based data structure that satisfies the heap property. The heap property ensures that for a given node in the heap: Key Characteristics of a Heap: Usage of Heaps in the Real World Real-World Problem Heap Type Description Example Priority Queues in Operating Systems Max-Heap Managing processes in…