"Just a student teaching their compiler new tricks."
This repository tracks my daily growth, logic building, and consistency as I conquer Data Structures and Algorithms from scratch using C++.
| Day | Topic | Key Concepts Learned | Code Link |
|---|---|---|---|
| 01 | Basics | Data types,Implicit/Explicit Type casting, Operators, Basic sum | View |
| 02 | Basics | if-else statements, Use of elif statements, Ternary operator | View |
| 03 | Loops | for loop, while loop, do while loop and programs | View |
| 04 | Patterns | Star Patterns, Number patterns and Character patterns | View View View |
| 05 | Functions | Sum of n numbers, To calculate factorial, Sum of digits of a no., nCr, To check and print prime nos., Fibonacci series. | View |
| 06 | Binary Numbers | Conversion of decimal to binary number and binary to decimal number | View View |
| 07 | Bitwise operators | Bitwise operators and Scope of variables | View View |
| 08 | Arrays | Array initialization, max and min value in array, reverse of array, linear search, some important array leetcode prob | View View View View |
| 09 | Vectors | Syntax, vector functions, dynamic memory allocation in vectors and leetcode ques of finding a single unique value in vector | View View View View |
| 10 | Subarrays | Total subarrays of an array, max subarray sum using BRUTE'S and KADANE'S approach, return pairs with target sum using BRUTE and 2 POINTER approach, majority element in array | View View View View |
| 11 | Binary exponentiation | To calculate the value of x raised to power n using the binary value of the power | View |
| 12 | Stock Buy & Sell | To calculate the best day to buy a stock and sell it to gain the maximum profit | View |
| 13 | Container with most water | To find out the container with maximum area i.e max water | View |
| 14 | Product of array except self | To return an array which has all its element multiplied except the element present at that index value using BRUTE APPROACH, LINEAR APPROACH & CONSTANT SPACE COMPLEXITY | View View View |
| 15 | Pointers | Basics about pointers, memory address, null pointer, pass by reference using pointers and alias, pointer arithmetic, array pointers and some questions | View View View View View View |
| 16 | Binary Search | Binary search using Iterative method and optimising it, Binary search using recursive method. | View View View |
| 17 | Search in rotated sorted array | Searching a target value in a ROTATED AND SORTED ARRAY (Binary search) | View |
| 18 | Mountain array | Peak index value searching in a mountain array (Binary search) | View |
| 19 | Single element | Searching a single element in sorted array (Binary search) | View |
| 20 | Book allocation | Allocating books to M number of students and returning the minimum possible number of pages of the max allowed pages (Binary search) | View |
| 21 | Painter's Partition problem | To find minimum time to paint all the boards under the continuous sections of board by painter (Binary search) | View |
| 22 | Agressive cows problem | Assign C cows to N stalls such that the minimum distance between them is the largest possible. | View |
| 23 | Sorting | Bubble sort, Selection sort, insertion sort | View View View |
| 24 | C++ Standard template library-1 | vector, iterator, list, deque, pair, stack | View View View View View View |
| 25 | C++ Standard template library-2 | queue, priority_queue, map, set, Algorithms | View View View View View |
| 26 | Strings | Character arrays, strings and reversing a string | View View View |
| 27 | Valid Palindrome | To check whether a string is Palindrome or not considering only alphanumeric characters and by converting uppercase letters to lowercase. | View |
| 28 | Remove All Occurrences of a Substring | Return string s after removing all occurrences of part(substring of s). | View |
| 29 | Permutation in String | Given two strings s1 and s2, return true if s2 contains a permutation of s1, or false otherwise. | View |
| 30 | Reverse Words in a String | Return a string of the words in reverse order concatenated by a single space. | View |
| 31 | String compression | Compressing a character array and returning it with the new length of the array. | View |
Made with 💖 and a lot of compilation errors.