Practicing Algorithms and data structures for 100 days.
- Implemented State design pattern.
- Implemented Facade design pattern.
- Implemented Abstract factory design pattern.
- Implemented Composite design pattern.
- Implemented Strategy design pattern.
- Implemented Chain of responsibility design pattern.
- Implemented Mediator design pattern.
- Implemented Memento design pattern.
- Implemented iterator design pattern.
- Implemented url-shortener system design.
- Implemented e-commerce system design part - 3.
- Implemented e-commerce system design part - 2.
- Implemented e-commerce system design part - 1.
- Implemented Decorator design pattern.
- Implemented Visitor design pattern.
- Implemented State design pattern.
- Solved Chocolate feasts from Hackerrank. Problem at https://www.hackerrank.com/challenges/chocolate-feast/problem
- Solved Service lane from Hackerrank. Problem at https://www.hackerrank.com/challenges/service-lane/problem
- Solved Flatland space stations from Hackerrank. Problem at https://www.hackerrank.com/challenges/flatland-space-stations/forum
- Solved Halloween sale from Hackerrank. Problem at https://www.hackerrank.com/challenges/halloween-sale/problem
- Solved minimum distance from Hackerrank. Problem at https://www.hackerrank.com/challenges/minimum-distances/problem
- Solved Beautiful triplets from Hackerrank. Problem at https://www.hackerrank.com/challenges/beautiful-triplets/problem
- Solved find digits from Hackerrank. Problem at https://www.hackerrank.com/challenges/find-digits/problem
- Solved Circular rotation array from Hackerrank. Problem at https://www.hackerrank.com/challenges/circular-array-rotation/problem
- Solved Balance expression from Hackerrank. Problem at https://www.hackerrank.com/challenges/ctci-balanced-brackets/problem
- Solved Beautiful days at movies from Hackerrank. Problem at https://www.hackerrank.com/challenges/beautiful-days-at-the-movies/problem
- Solved PDF Viewer from Hackerrank. Problem at https://www.hackerrank.com/challenges/designer-pdf-viewer/problem
- Solved The hurdle race from Hackerrank. Problem at https://www.hackerrank.com/challenges/the-hurdle-race/problem
- Solved Electronics shop from Hackerrank. Problem at https://www.hackerrank.com/challenges/electronics-shop/problem
- Solved Kangaroo from Hackerrank. Problem at https://www.hackerrank.com/challenges/kangaroo/problem
- Solved Organizing Container from Hackerrank. Problem at https://www.hackerrank.com/challenges/organizing-containers-of-balls/problem
- Solved Apple and Organge from Hackerrank. Problem at https://www.hackerrank.com/challenges/apple-and-orange/problem
- Wrote pseudo code for Magic square from Hackerrank. Problem at https://www.hackerrank.com/challenges/magic-square-forming/problem
- Solved Ice Cream Parlour from Hackerrank. Problem at https://www.hackerrank.com/challenges/ctci-ice-cream-parlor/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=search
- Solved Greedy Florist from Hackerrank. Problem at https://www.hackerrank.com/challenges/greedy-florist/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=greedy-algorithms
- Solved Max array sum from hackerrank. Problem at https://www.hackerrank.com/challenges/max-array-sum/problem
- Solved Minimum abs difference. Problem at https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=greedy-algorithms
- Solved Triplets from hackerrank. Problem at https://www.hackerrank.com/challenges/triple-sum/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=search
- Solved pairs from hackerrank. Problem at https://www.hackerrank.com/challenges/pairs/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=search
- Solved "Largest Rectangle" from hackerrank. Problem at https://www.hackerrank.com/challenges/largest-rectangle/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=stacks-queues
- Solved "Making Anagrams" from hackerrank. Problem at https://www.hackerrank.com/challenges/ctci-making-anagrams/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=strings
- Implemented problem in Hash. Problem statement can be found at https://www.hackerrank.com/challenges/frequency-queries/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=dictionaries-hashmaps.
- Implemented queue data-structure using two stacks.
- Implemented an algorithm to find an element in an sorted matrix.
- Wrote pseudo code for counting inversions of an array.
- Implemented an algorithm to reverse a sentence.
- Solved coin-change problem.
- Implemented an algorithm to find the pairs that equals to the given element. And solved stock buy-sell for maximum profit problem.
- Implemented an algorithm to find the hits and psuedo-hits of master mind game.
- Implemented an algorithm to sort an array by alternating peaks and shallows.
- Implemented an algorithm to find whether there is a winner in tic-tac-toc game.
- Implemented an algorithm to find the number of pond sizes in the given N*N matrix.
- Implemented an algorithm to sort an given array by sorting the minimum sub-array.
- Implemented an algorithm to find the contiguous sub-sequence with max sum.
- Implemented an algorithm to make the sum of elements of two given arrays equal by swaping two numbers.
- Implemented an algorithm to find the max population of the year, given the birth rate and death rate for the range of years.
- Implemented Least Recently Used cache.
- Implemented an algorithm to find the minimum difference between two arrays.
- Implemented an algorithm to swap two numbers without using additional space.
- Implemented an algorithm to find the number of elements less than the given element from a given stream of integers.
- Implemented an algorithm to find a given string from an given array of strings with blank.
- Implemented an algorithm to find an element in a n-times rotated sorted array.
- Implemented an algorithm to sort an array of strings such that all anagrams are next to each other.
- Implemented an algorithm to merge two sorted array.
- Implemented quick sort algorithm.
- Implemented an algorithm to print all the permutations of the given string with duplicate chars.
- Implemented an algorithm to print all the permutations of the given string.
- Multiply two numbers without using *
- Implemented merge sort.
- Implemented a design pattern for parking lot.
- Implemented an algorithm to find magic index of an array.
- Implemented an algorithm to find the path from top left to bottom right in a maze.
- Implemented a design pattern of music jukebox.
- Implemented an algorithm to find the number of ways to reach nth step.
- Implemented a design pattern to manage call center system.
- Implemented singleton and factory design patterns.
- Implemented Sieve Of Eratosthenes algorithm.
- Implemented Kruskal's algorithm.
- Implemented Prim's algorithm.
- Implemented Bellman Ford algorithm.
- Implemented Dijkstra algorithm.
- Wrote pseudo code for an algorithm to print all possible ways of traversing nodes of BST.
- Started to implement an algorithm to print all possible ways of traversing nodes of BST.
- Implemented an algorithm to find the common ancestor for the given two nodes of a binary tree.
- Solved a problem from graphs: Design a algorithm to build the order of jobs without affecting the job dependencies.
- Implement an algorithm to check if the given binary tree is binary search tree or not.
- Implemented Breadth First Search.
- Implemented Depth First Search.
- Completed binary search tree.
- Started to implement a binary search tree from a given array.
- Implemented circular linkedlist without using any other data-structure.
- Completed single LinkedList and implemented doubly LinkedList without using any other data-structure.
- Implemented traversion and insertion of LinkedList without using any other data-structure.
- Solved a problem from linked list: Find the middle element in the given linked list
- Solved stack sorting: Sort the given stack in ascending order without using any other data-structure except using one additional stack.
- Solved a problem from Queues: Implement a queue using two stacks.
- Solved a problem from Array: Return the minimum element of array in O(1)
- Solved zero matrix: In a given matrix, for every element that equals to zero make that entire row and column to zero.
- Solved permutation of palindrome: To check whether the given string is a permutation of palindrome.
- Solved a problem from string manipulation.
- Created Github repo for #100DaysOfAlgorithm