Day 20 (Binary Search Trees)Today, I focused on mastering binary search trees (BSTs) by implementing essential operations and solving problems that leverage their properties. I began by implementing a BST with insertion, deletion, and search operations, ensuring efficient eleme...Dec 16, 2024·17 min read
Day 15 (Advanced Recursion)Today, I focused on honing my recursive problem-solving skills by tackling advanced recursion problems. I started by generating all subsets of a set, followed by generating all permutations of a string/array. Then, I explored the "word search in a gr...Dec 11, 2024·12 min read
Day 14 (Searching Advanced)Today, I delved into advanced searching problems, focusing on applying Binary Search in creative ways. I tackled challenges like allocating the minimum number of pages, determining the minimum capacity required to ship packages within a given number ...Dec 10, 2024·12 min read
Day 13 (Searching Basics)Today, I focused on mastering searching algorithms, particularly Binary Search. I implemented Binary Search to find elements in sorted arrays and tackled problems like finding the first and last position of an element in a sorted array. I also solved...Dec 9, 2024·7 min read
Day 12 (Sorting Advanced)Today’s practice focused on diving into more advanced sorting algorithms. I implemented Merge Sort and Quick Sort, analyzing their time complexities in the process. Additionally, I worked on solving problems like finding the kth smallest/largest elem...Dec 8, 2024·10 min read
Day 11 (Sorting Basics)Today’s focus was on mastering the basics of sorting algorithms. I implemented Bubble Sort, Selection Sort, and Insertion Sort while analyzing their time complexities. Additionally, I worked on solving problems like sorting an array of 0s, 1s, and 2s...Dec 7, 2024·7 min read
Day 10 (Linked Lists Basics)Today's focus was on mastering the fundamentals of linked lists. I worked on implementing a singly linked list with essential operations like insertion, deletion, and traversal. Additionally, I solved problems such as reversing a linked list, detecti...Dec 6, 2024·13 min read