Skip to content

Commit

Permalink
new order
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush01123 committed Feb 28, 2019
1 parent fedc790 commit a84d085
Show file tree
Hide file tree
Showing 174 changed files with 91 additions and 91 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
182 changes: 91 additions & 91 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,98 +2,98 @@

My solutions for programming problems from <https://www.dailycodingproblem.com/>

If you are looking to help out a fellow programmer, please head over to the [Issues Section](https://github.com/piyush-kgp/Daily-Coding-Problems/issues) and look for the label `help wanted`.
If you are looking to help out a fellow programmer, please head over to the [Issues Section](0https://github.com/piyush-kgp/Daily-Coding-Problems/issues) and look for the label `help wanted`.

#### Problem Legend
| Problem ID | Problem | Asked by | Solved status | Solved in |
|:---:|:-------------:|:-------------:|-------------:|-------------:|
| 1 | [2-Sum problem](1) | Google | Solved | Python, C++ |
| 2 | [Product except self](2) | Uber | Solved | Python, C++ |
| 3 | [Serialize and Deserialize Binary Trees](3) | Google | Solved | Python |
| 4 | [First missing positive](4) | Stripe | Solved | Python, C++ |
| 5 | [car, cdr, cons](5) | Jane Street | Solved | Python |
| 6 | [XOR Linked list](6) | Google | Solved | C++ |
| 7 | [Number of ways to decode a message](7) | Facebook | Solved | Python, C++ |
| 8 | [Universal Value Tree Count](8) | Google | Solved | Python |
| 9 | [Largest sum of non-adjacent numbers in array](9) | Airbnb | Solved | Python |
| 10 | [ Job Scheduler](10) | Apple | Solved | Python |
| 11 | [Autocomplete system](11) | Twitter | Solved | Python |
| 12 | [Number of ways to climb a staircase](12) | Amazon | Solved | Python |
| 13 | [Longest substring with at most K distinct characters](13) | Amazon | Unsolved | |
| 14 | [Pi estimation using Monte Carlo method](14) | Google | Solved | Python |
| 15 | [Random element from large input stream](15) | Facebook | Solved | Python |
| 16 | [Order Log](16) | Twitter | Solved | Python |
| 17 | [Directory structure](17) | Google | Unsolved | |
| 18 | [Max of each Subarray](18) | Google | Solved | Python |
| 19 | [House paint problem](19) | Facebook | Unsolved | |
| 20 | [Intersecting Linked Lists](20) | Google | Solved | Python |
| 21 | [Classroom Scheduling problem](21) | Snapchat | Solved | Python |
| 22 | [Word Break](22) | Microsoft | Solved | Python |
| 23 | [Number of ways to go from A to B](23) | Google | Unsolved | |
| 24 | [Binary Tree Locking](24) | Google | Unsolved | |
| 25 | [Regular Expression Implementation](25) | Facebook | Unsolved | |
| 26 | [Remove k<sup>th</sup> last element in linked list](26) | Google | Solved | Python |
| 27 | [Balanced brackets](27) | Facebook | Unsolved | |
| 28 | [Justify text](28) | Palantir | Unsolved | |
| 29 | [Run length encoding](29) | Amazon | Unsolved | |
| 30 | [Elevation map](30) | Facebook | Unsolved | |
| 31 | [Minimum edit distance between two strings](31) | Google | Unsolved | |
| 32 | [Currency Exchange](32) | Jane Street | Unsolved | |
| 33 | [Running Median](33) | Microsoft | Solved | Python |
| 34 | [Minimum insertion palindrome](34) | Quora | Unsolved | |
| 35 | [Swap RGB array in-place](35) | Google | Solved | Python |
| 36 | [Second largest node in binary tree](36) | Dropbox | Solved | Python |
| 37 | [Power Set](37) | Google | Solved | Python |
| 38 | [Non-threatening Queens](38) | Microsoft | Solved | Python |
| 39 | [Conway's Game of Life](39) | Dropbox | Unsolved | |
| 40 | [Non-duplicated item in array](40) | Google | Solved | Python |
| 41 | [Flight itinerary](41) | Facebook | Solved | Python |
| 42 | [K sum subset](42) | Google | Solved | Python |
| 43 | [Stack Implementation](43) | Amazon | Solved | Python |
| 44 | [Count inversions](44) | Google | Solved | Python |
| 45 | [Random number generator](45) | Two Sigma | Solved | Python |
| 46 | [Longest palindromic substring](46) | Amazon | Solved | Python |
| 47 | [Maximum stock profit](47) | Facebook | Solved | Python |
| 48 | [Reconstruct binary tree given preorder and postorder traversals](48) | Google | Solved | Python |
| 49 | [Max Sum Subarray or Kadane's algorithm](49) | Amazon | Solved | Python |
| 50 | [Binary Tree Arithmetic](50) | Microsoft | Solved | Python |
| 51 | [Deck shuffling with swaps only](51) | Facebook | Solved | Python |
| 52 | [LRU Cache Implementation](52) | Google | Solved | Python |
| 53 | [Queue Implementation](53) | Apple | Unsolved | |
| 54 | [Sudoku solver](54) | Dropbox | Unsolved | |
| 55 | [URL shortener](55) | Microsoft | Solved | Python |
| 56 | [Graph Coloring](56) | Google | Unsolved | |
| 57 | [String Break](57) | Amazon | Unsolved | |
| 58 | [Rotated sorted array search](58) | Amazon | Solved | Python |
| 59 | [File Syncing between two computers](59) | Google | Unsolved | |
| 60 | [Equal Sum Partition](60) | Facebook | Solved | Python |
| 61 | [Integer exponentiation](61) | Google | Solved | Python |
| 62 | [Top-Left to Bottom-Right](62) | Facebook | Solved | Python |
| 63 | [Word Matrix](63) | Microsoft | Solved | Python |
| 64 | [Knight's Tour](64) | Google | Unsolved | |
| 65 | [Spiral Matrix](65) | Amazon | Solved | Python |
| 66 | [Unbiased Toss](66) | Square | Solved | Python |
| 67 | [LFU Cache Implementation](67) | Google | Solved | Python |
| 68 | [Attacking Bishops](68) | Google | Solved | Python |
| 69 | [Max triplet product](69) | Facebook | Solved | Python |
| 70 | [Perfect Numbers](70) | Microsoft | Solved | Python |
| 71 | [Another Random Number Generator](71) | Microsoft | Solved | Python |
| 72 | [Largest Value Path in a Directed Graph](71) | Google | Solved | Python |
| 73 | [Reverse Linked List in-place](73) | Google | Solved | Python |
| 74 | [Count occurrences in multiplication table](74) | Apple | Solved | Python |
| 75 | [Largest increasing subsequence](75) | Microsoft | Solved | Python |
| 76 | [Lexicographic matrix sort](76) | Google | Solved | Python |
| 77 | [Merge overlapping intervals](77) | Snapchat | Solved | Python |
| 78 | [Merge sorted linked lists](78) | Google | Solved | Python |
| 79 | [Modifiabale non-decreasing array](79) | Facebook | Solved | Python |
| 80 | [Deepest Node in Binary Tree](80) | Google | Solved | Python |
| 81 | [Letter Combinations from Dictionary](81) | Yelp | Solved | Python |
| 82 | [Implementation of readN(n) using read7](82) | Microsoft | Solved | Python |
| 83 | [Reverse Binary Tree](83) | Google | Solved | Python |
| 84 | [Island Count](84) | Amazon | Solved | Python |
| 85 | [X or Y](85) | Facebook | Solved | Python |
| 86 | [Min parantheses removal](86) | Google | Solved | Python |
| 87 | [Validate Map](87) | Uber | Solved | Python |
| 88 | [Integer division](88) | ContextLogic | Solved | Python |
| 89 | [Valid BST](89) | LinkedIn | Solved | Python |
| 90 | [Random number generator with exception rule](90) | Google | Solved | Python |
| 1 | [2-Sum problem](001) | Google | Solved | Python, C++ |
| 2 | [Product except self](002) | Uber | Solved | Python, C++ |
| 3 | [Serialize and Deserialize Binary Trees](003) | Google | Solved | Python |
| 4 | [First missing positive](004) | Stripe | Solved | Python, C++ |
| 5 | [car, cdr, cons](005) | Jane Street | Solved | Python |
| 6 | [XOR Linked list](006) | Google | Solved | C++ |
| 7 | [Number of ways to decode a message](007) | Facebook | Solved | Python, C++ |
| 8 | [Universal Value Tree Count](008) | Google | Solved | Python |
| 9 | [Largest sum of non-adjacent numbers in array](009) | Airbnb | Solved | Python |
| 10 | [ Job Scheduler](010) | Apple | Solved | Python |
| 11 | [Autocomplete system](011) | Twitter | Solved | Python |
| 12 | [Number of ways to climb a staircase](012) | Amazon | Solved | Python |
| 13 | [Longest substring with at most K distinct characters](013) | Amazon | Unsolved | |
| 14 | [Pi estimation using Monte Carlo method](014) | Google | Solved | Python |
| 15 | [Random element from large input stream](015) | Facebook | Solved | Python |
| 16 | [Order Log](016) | Twitter | Solved | Python |
| 17 | [Directory structure](017) | Google | Unsolved | |
| 18 | [Max of each Subarray](018) | Google | Solved | Python |
| 19 | [House paint problem](019) | Facebook | Unsolved | |
| 20 | [Intersecting Linked Lists](020) | Google | Solved | Python |
| 21 | [Classroom Scheduling problem](021) | Snapchat | Solved | Python |
| 22 | [Word Break](022) | Microsoft | Solved | Python |
| 23 | [Number of ways to go from A to B](023) | Google | Unsolved | |
| 24 | [Binary Tree Locking](024) | Google | Unsolved | |
| 25 | [Regular Expression Implementation](025) | Facebook | Unsolved | |
| 26 | [Remove k<sup>th</sup> last element in linked list](026) | Google | Solved | Python |
| 27 | [Balanced brackets](027) | Facebook | Unsolved | |
| 28 | [Justify text](028) | Palantir | Unsolved | |
| 29 | [Run length encoding](029) | Amazon | Unsolved | |
| 30 | [Elevation map](030) | Facebook | Unsolved | |
| 31 | [Minimum edit distance between two strings](031) | Google | Unsolved | |
| 32 | [Currency Exchange](032) | Jane Street | Unsolved | |
| 33 | [Running Median](033) | Microsoft | Solved | Python |
| 34 | [Minimum insertion palindrome](034) | Quora | Unsolved | |
| 35 | [Swap RGB array in-place](035) | Google | Solved | Python |
| 36 | [Second largest node in binary tree](036) | Dropbox | Solved | Python |
| 37 | [Power Set](037) | Google | Solved | Python |
| 38 | [Non-threatening Queens](038) | Microsoft | Solved | Python |
| 39 | [Conway's Game of Life](039) | Dropbox | Unsolved | |
| 40 | [Non-duplicated item in array](040) | Google | Solved | Python |
| 41 | [Flight itinerary](041) | Facebook | Solved | Python |
| 42 | [K sum subset](042) | Google | Solved | Python |
| 43 | [Stack Implementation](043) | Amazon | Solved | Python |
| 44 | [Count inversions](044) | Google | Solved | Python |
| 45 | [Random number generator](045) | Two Sigma | Solved | Python |
| 46 | [Longest palindromic substring](046) | Amazon | Solved | Python |
| 47 | [Maximum stock profit](047) | Facebook | Solved | Python |
| 48 | [Reconstruct binary tree given preorder and postorder traversals](048) | Google | Solved | Python |
| 49 | [Max Sum Subarray or Kadane's algorithm](049) | Amazon | Solved | Python |
| 50 | [Binary Tree Arithmetic](050) | Microsoft | Solved | Python |
| 51 | [Deck shuffling with swaps only](051) | Facebook | Solved | Python |
| 52 | [LRU Cache Implementation](052) | Google | Solved | Python |
| 53 | [Queue Implementation](053) | Apple | Unsolved | |
| 54 | [Sudoku solver](054) | Dropbox | Unsolved | |
| 55 | [URL shortener](055) | Microsoft | Solved | Python |
| 56 | [Graph Coloring](056) | Google | Unsolved | |
| 57 | [String Break](057) | Amazon | Unsolved | |
| 58 | [Rotated sorted array search](058) | Amazon | Solved | Python |
| 59 | [File Syncing between two computers](059) | Google | Unsolved | |
| 60 | [Equal Sum Partition](060) | Facebook | Solved | Python |
| 61 | [Integer exponentiation](061) | Google | Solved | Python |
| 62 | [Top-Left to Bottom-Right](062) | Facebook | Solved | Python |
| 63 | [Word Matrix](063) | Microsoft | Solved | Python |
| 64 | [Knight's Tour](064) | Google | Unsolved | |
| 65 | [Spiral Matrix](065) | Amazon | Solved | Python |
| 66 | [Unbiased Toss](066) | Square | Solved | Python |
| 67 | [LFU Cache Implementation](067) | Google | Solved | Python |
| 68 | [Attacking Bishops](068) | Google | Solved | Python |
| 69 | [Max triplet product](069) | Facebook | Solved | Python |
| 70 | [Perfect Numbers](070) | Microsoft | Solved | Python |
| 71 | [Another Random Number Generator](071) | Microsoft | Solved | Python |
| 72 | [Largest Value Path in a Directed Graph](071) | Google | Solved | Python |
| 73 | [Reverse Linked List in-place](073) | Google | Solved | Python |
| 74 | [Count occurrences in multiplication table](074) | Apple | Solved | Python |
| 75 | [Largest increasing subsequence](075) | Microsoft | Solved | Python |
| 76 | [Lexicographic matrix sort](076) | Google | Solved | Python |
| 77 | [Merge overlapping intervals](077) | Snapchat | Solved | Python |
| 78 | [Merge sorted linked lists](078) | Google | Solved | Python |
| 79 | [Modifiabale non-decreasing array](079) | Facebook | Solved | Python |
| 80 | [Deepest Node in Binary Tree](080) | Google | Solved | Python |
| 81 | [Letter Combinations from Dictionary](081) | Yelp | Solved | Python |
| 82 | [Implementation of readN(n) using read7](082) | Microsoft | Solved | Python |
| 83 | [Reverse Binary Tree](083) | Google | Solved | Python |
| 84 | [Island Count](084) | Amazon | Solved | Python |
| 85 | [X or Y](085) | Facebook | Solved | Python |
| 86 | [Min parantheses removal](086) | Google | Solved | Python |
| 87 | [Validate Map](087) | Uber | Solved | Python |
| 88 | [Integer division](088) | ContextLogic | Solved | Python |
| 89 | [Valid BST](089) | LinkedIn | Solved | Python |
| 90 | [Random number generator with exception rule](090) | Google | Solved | Python |

0 comments on commit a84d085

Please sign in to comment.