├── 0017-letter-combinations-of-a-phone-number ├── 0017-letter-combinations-of-a-phone-number.java ├── NOTES.md └── README.md ├── Alien Dictionary - GFG ├── README.md └── alien-dictionary.java ├── Arrays_String ├── 0006-zigzag-conversion │ ├── 0006-zigzag-conversion.java │ ├── NOTES.md │ └── README.md ├── 0012-integer-to-roman │ ├── 0012-integer-to-roman.java │ ├── NOTES.md │ └── README.md ├── 0013-roman-to-integer │ ├── 0013-roman-to-integer.java │ ├── NOTES.md │ └── README.md ├── 0014-longest-common-prefix │ ├── 0014-longest-common-prefix.java │ ├── NOTES.md │ └── README.md ├── 0026-remove-duplicates-from-sorted-array │ ├── 0026-remove-duplicates-from-sorted-array.java │ └── README.md ├── 0027-remove-element │ ├── 0027-remove-element.java │ ├── NOTES.md │ └── README.md ├── 0028-find-the-index-of-the-first-occurrence-in-a-string │ ├── 0028-find-the-index-of-the-first-occurrence-in-a-string.java │ ├── NOTES.md │ └── README.md ├── 0042-trapping-rain-water │ ├── 0042-trapping-rain-water.java │ ├── NOTES.md │ └── README.md ├── 0045-jump-game-ii │ ├── 0045-jump-game-ii.java │ ├── NOTES.md │ └── README.md ├── 0055-jump-game │ ├── 0055-jump-game.java │ ├── NOTES.md │ └── README.md ├── 0058-length-of-last-word │ ├── 0058-length-of-last-word.java │ ├── NOTES.md │ └── README.md ├── 0068-text-justification │ ├── 0068-text-justification.java │ ├── NOTES.md │ └── README.md ├── 0080-remove-duplicates-from-sorted-array-ii │ ├── 0080-remove-duplicates-from-sorted-array-ii.java │ ├── NOTES.md │ └── README.md ├── 0088-merge-sorted-array │ ├── 0088-merge-sorted-array.java │ ├── NOTES.md │ └── README.md ├── 0121-best-time-to-buy-and-sell-stock │ ├── 0121-best-time-to-buy-and-sell-stock.java │ ├── NOTES.md │ └── README.md ├── 0122-best-time-to-buy-and-sell-stock-ii │ ├── 0122-best-time-to-buy-and-sell-stock-ii.java │ ├── NOTES.md │ └── README.md ├── 0134-gas-station │ ├── 0134-gas-station.java │ ├── NOTES.md │ └── README.md ├── 0135-candy │ ├── 0135-candy.java │ ├── NOTES.md │ └── README.md ├── 0151-reverse-words-in-a-string │ ├── 0151-reverse-words-in-a-string.java │ ├── NOTES.md │ └── README.md ├── 0169-majority-element │ ├── 0169-majority-element.java │ └── NOTES.md ├── 0189-rotate-array │ ├── 0189-rotate-array.java │ ├── NOTES.md │ └── README.md ├── 0238-product-of-array-except-self │ ├── 0238-product-of-array-except-self.java │ ├── NOTES.md │ └── README.md ├── 0274-h-index │ ├── 0274-h-index.java │ ├── NOTES.md │ └── README.md └── 0380-insert-delete-getrandom-o1 │ ├── 0380-insert-delete-getrandom-o1.java │ ├── NOTES.md │ └── README.md ├── BFS of graph - GFG ├── README.md └── bfs-of-graph.java ├── Binary Search Tree ├── 0098-validate-binary-search-tree │ ├── 0098-validate-binary-search-tree.java │ ├── NOTES.md │ └── README.md ├── 0230-kth-smallest-element-in-a-bst │ ├── 0230-kth-smallest-element-in-a-bst.java │ ├── NOTES.md │ └── README.md └── 0530-minimum-absolute-difference-in-bst │ ├── 0530-minimum-absolute-difference-in-bst.java │ ├── NOTES.md │ └── README.md ├── Binary Tree BFS ├── 0102-binary-tree-level-order-traversal │ ├── 0102-binary-tree-level-order-traversal.java │ ├── NOTES.md │ └── README.md ├── 0103-binary-tree-zigzag-level-order-traversal │ ├── 0103-binary-tree-zigzag-level-order-traversal.java │ ├── NOTES.md │ └── README.md ├── 0199-binary-tree-right-side-view │ ├── 0199-binary-tree-right-side-view.java │ └── NOTES.md └── 0637-average-of-levels-in-binary-tree │ ├── 0637-average-of-levels-in-binary-tree.java │ ├── NOTES.md │ └── README.md ├── Binary Tree General ├── 0100-same-tree │ ├── 0100-same-tree.java │ ├── NOTES.md │ └── README.md ├── 0101-symmetric-tree │ ├── 0101-symmetric-tree.java │ ├── NOTES.md │ └── README.md ├── 0104-maximum-depth-of-binary-tree │ ├── 0104-maximum-depth-of-binary-tree.java │ ├── NOTES.md │ └── README.md ├── 0105-construct-binary-tree-from-preorder-and-inorder-traversal │ ├── 0105-construct-binary-tree-from-preorder-and-inorder-traversal.java │ ├── NOTES.md │ └── README.md ├── 0106-construct-binary-tree-from-inorder-and-postorder-traversal │ ├── 0106-construct-binary-tree-from-inorder-and-postorder-traversal.java │ ├── NOTES.md │ └── README.md ├── 0112-path-sum │ ├── 0112-path-sum.java │ ├── NOTES.md │ └── README.md ├── 0114-flatten-binary-tree-to-linked-list │ ├── 0114-flatten-binary-tree-to-linked-list.java │ ├── NOTES.md │ └── README.md ├── 0117-populating-next-right-pointers-in-each-node-ii │ ├── 0117-populating-next-right-pointers-in-each-node-ii.java │ └── README.md ├── 0124-binary-tree-maximum-path-sum │ ├── 0124-binary-tree-maximum-path-sum.java │ └── README.md ├── 0129-sum-root-to-leaf-numbers │ ├── 0129-sum-root-to-leaf-numbers.java │ ├── NOTES.md │ └── README.md ├── 0173-binary-search-tree-iterator │ ├── 0173-binary-search-tree-iterator.java │ ├── NOTES.md │ └── README.md ├── 0222-count-complete-tree-nodes │ ├── 0222-count-complete-tree-nodes.java │ └── NOTES.md ├── 0226-invert-binary-tree │ ├── 0226-invert-binary-tree.java │ ├── NOTES.md │ └── README.md └── 0236-lowest-common-ancestor-of-a-binary-tree │ ├── 0236-lowest-common-ancestor-of-a-binary-tree.java │ └── NOTES.md ├── DFS of Graph - GFG ├── README.md └── dfs-of-graph.java ├── Detect cycle in a directed graph - GFG ├── README.md └── detect-cycle-in-a-directed-graph.java ├── Detect cycle in an undirected graph - GFG ├── README.md └── detect-cycle-in-an-undirected-graph.java ├── Distance of nearest cell having 1 - GFG ├── README.md └── distance-of-nearest-cell-having-1.java ├── Eventual Safe States - GFG ├── README.md └── eventual-safe-states.java ├── Graph General ├── 0130-surrounded-regions │ ├── 0130-surrounded-regions.java │ ├── NOTES.md │ └── README.md ├── 0133-clone-graph │ ├── 0133-clone-graph.java │ ├── NOTES.md │ └── README.md ├── 0200-number-of-islands │ ├── 0200-number-of-islands.java │ ├── NOTES.md │ └── README.md ├── 0207-course-schedule │ ├── 0207-course-schedule.java │ ├── NOTES.md │ └── README.md ├── 0210-course-schedule-ii │ ├── 0210-course-schedule-ii.java │ ├── NOTES.md │ └── README.md └── 0399-evaluate-division │ ├── 0399-evaluate-division.java │ ├── NOTES.md │ └── README.md ├── HashMap ├── 0001-two-sum │ ├── 0001-two-sum.java │ ├── NOTES.md │ └── README.md ├── 0049-group-anagrams │ ├── 0049-group-anagrams.java │ └── README.md ├── 0128-longest-consecutive-sequence │ ├── 0128-longest-consecutive-sequence.java │ ├── NOTES.md │ └── README.md ├── 0202-happy-number │ ├── 0202-happy-number.java │ ├── NOTES.md │ └── README.md ├── 0205-isomorphic-strings │ ├── 0205-isomorphic-strings.java │ ├── NOTES.md │ └── README.md ├── 0219-contains-duplicate-ii │ ├── 0219-contains-duplicate-ii.java │ ├── NOTES.md │ └── README.md ├── 0242-valid-anagram │ ├── 0242-valid-anagram.java │ └── NOTES.md ├── 0290-word-pattern │ ├── 0290-word-pattern.java │ ├── NOTES.md │ └── README.md └── 0383-ransom-note │ ├── 0383-ransom-note.java │ ├── NOTES.md │ └── README.md ├── Implementing Dijkstra Algorithm - GFG ├── README.md └── implementing-dijkstra-algorithm.java ├── Intervals ├── 0056-merge-intervals │ ├── 0056-merge-intervals.java │ ├── NOTES.md │ └── README.md ├── 0057-insert-interval │ ├── 0057-insert-interval.java │ ├── NOTES.md │ └── README.md ├── 0228-summary-ranges │ ├── 0228-summary-ranges.java │ └── README.md └── 0452-minimum-number-of-arrows-to-burst-balloons │ ├── 0452-minimum-number-of-arrows-to-burst-balloons.java │ └── NOTES.md ├── Linked List ├── 0002-add-two-numbers │ ├── 0002-add-two-numbers.java │ ├── NOTES.md │ └── README.md ├── 0019-remove-nth-node-from-end-of-list │ ├── 0019-remove-nth-node-from-end-of-list.java │ ├── NOTES.md │ └── README.md ├── 0021-merge-two-sorted-lists │ ├── 0021-merge-two-sorted-lists.java │ ├── NOTES.md │ └── README.md ├── 0025-reverse-nodes-in-k-group │ ├── 0025-reverse-nodes-in-k-group.java │ ├── NOTES.md │ └── README.md ├── 0061-rotate-list │ ├── 0061-rotate-list.java │ ├── NOTES.md │ └── README.md ├── 0082-remove-duplicates-from-sorted-list-ii │ ├── 0082-remove-duplicates-from-sorted-list-ii.java │ ├── NOTES.md │ └── README.md ├── 0086-partition-list │ ├── 0086-partition-list.java │ ├── NOTES.md │ └── README.md ├── 0092-reverse-linked-list-ii │ ├── 0092-reverse-linked-list-ii.java │ ├── NOTES.md │ └── README.md ├── 0138-copy-list-with-random-pointer │ ├── 0138-copy-list-with-random-pointer.java │ ├── NOTES.md │ └── README.md ├── 0141-linked-list-cycle │ ├── 0141-linked-list-cycle.java │ └── README.md └── 0146-lru-cache │ ├── 0146-lru-cache.java │ ├── NOTES.md │ └── README.md ├── Matrix ├── 0036-valid-sudoku │ ├── 0036-valid-sudoku.java │ ├── NOTES.md │ └── README.md ├── 0048-rotate-image │ ├── 0048-rotate-image.java │ ├── NOTES.md │ └── README.md ├── 0054-spiral-matrix │ ├── 0054-spiral-matrix.java │ ├── NOTES.md │ └── README.md ├── 0073-set-matrix-zeroes │ ├── 0073-set-matrix-zeroes.java │ ├── NOTES.md │ └── README.md └── 0289-game-of-life │ ├── 0289-game-of-life.java │ ├── NOTES.md │ └── README.md ├── Number of Distinct Islands - GFG ├── README.md └── number-of-distinct-islands.java ├── README.md ├── Shortest path in Directed Acyclic Graph - GFG ├── README.md └── shortest-path-in-directed-acyclic-graph.java ├── Shortest path in Undirected Graph having unit distance - GFG ├── README.md └── shortest-path-in-undirected-graph-having-unit-distance.java ├── Sliding Window ├── 0003-longest-substring-without-repeating-characters │ ├── 0003-longest-substring-without-repeating-characters.java │ ├── NOTES.md │ └── README.md ├── 0030-substring-with-concatenation-of-all-words │ ├── 0030-substring-with-concatenation-of-all-words.java │ ├── NOTES.md │ └── README.md ├── 0076-minimum-window-substring │ ├── 0076-minimum-window-substring.java │ ├── NOTES.md │ └── README.md └── 0209-minimum-size-subarray-sum │ ├── 0209-minimum-size-subarray-sum.java │ ├── NOTES.md │ └── README.md ├── Stack ├── 0020-valid-parentheses │ ├── 0020-valid-parentheses.java │ ├── NOTES.md │ └── README.md ├── 0071-simplify-path │ ├── 0071-simplify-path.java │ ├── NOTES.md │ └── README.md ├── 0150-evaluate-reverse-polish-notation │ ├── 0150-evaluate-reverse-polish-notation.java │ ├── NOTES.md │ └── README.md ├── 0155-min-stack │ ├── 0155-min-stack.java │ ├── NOTES.md │ └── README.md └── 0224-basic-calculator │ ├── 0224-basic-calculator.java │ ├── NOTES.md │ └── README.md ├── Topological sort - GFG ├── README.md └── topological-sort.java ├── Two Pointers ├── 0011-container-with-most-water │ ├── 0011-container-with-most-water.java │ ├── NOTES.md │ └── README.md ├── 0015-3sum │ ├── 0015-3sum.java │ ├── NOTES.md │ └── README.md ├── 0125-valid-palindrome │ ├── 0125-valid-palindrome.java │ ├── NOTES.md │ └── README.md ├── 0167-two-sum-ii-input-array-is-sorted │ ├── 0167-two-sum-ii-input-array-is-sorted.java │ ├── NOTES.md │ └── README.md └── 0392-is-subsequence │ ├── 0392-is-subsequence.java │ ├── NOTES.md │ └── README.md └── Union of two arrays - GFG ├── README.md └── union-of-two-arrays.java /0017-letter-combinations-of-a-phone-number/0017-letter-combinations-of-a-phone-number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/0017-letter-combinations-of-a-phone-number/0017-letter-combinations-of-a-phone-number.java -------------------------------------------------------------------------------- /0017-letter-combinations-of-a-phone-number/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /0017-letter-combinations-of-a-phone-number/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/0017-letter-combinations-of-a-phone-number/README.md -------------------------------------------------------------------------------- /Alien Dictionary - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Alien Dictionary - GFG/README.md -------------------------------------------------------------------------------- /Alien Dictionary - GFG/alien-dictionary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Alien Dictionary - GFG/alien-dictionary.java -------------------------------------------------------------------------------- /Arrays_String/0006-zigzag-conversion/0006-zigzag-conversion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0006-zigzag-conversion/0006-zigzag-conversion.java -------------------------------------------------------------------------------- /Arrays_String/0006-zigzag-conversion/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0006-zigzag-conversion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0006-zigzag-conversion/README.md -------------------------------------------------------------------------------- /Arrays_String/0012-integer-to-roman/0012-integer-to-roman.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0012-integer-to-roman/0012-integer-to-roman.java -------------------------------------------------------------------------------- /Arrays_String/0012-integer-to-roman/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0012-integer-to-roman/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0012-integer-to-roman/README.md -------------------------------------------------------------------------------- /Arrays_String/0013-roman-to-integer/0013-roman-to-integer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0013-roman-to-integer/0013-roman-to-integer.java -------------------------------------------------------------------------------- /Arrays_String/0013-roman-to-integer/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0013-roman-to-integer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0013-roman-to-integer/README.md -------------------------------------------------------------------------------- /Arrays_String/0014-longest-common-prefix/0014-longest-common-prefix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0014-longest-common-prefix/0014-longest-common-prefix.java -------------------------------------------------------------------------------- /Arrays_String/0014-longest-common-prefix/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0014-longest-common-prefix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0014-longest-common-prefix/README.md -------------------------------------------------------------------------------- /Arrays_String/0026-remove-duplicates-from-sorted-array/0026-remove-duplicates-from-sorted-array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0026-remove-duplicates-from-sorted-array/0026-remove-duplicates-from-sorted-array.java -------------------------------------------------------------------------------- /Arrays_String/0026-remove-duplicates-from-sorted-array/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0026-remove-duplicates-from-sorted-array/README.md -------------------------------------------------------------------------------- /Arrays_String/0027-remove-element/0027-remove-element.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0027-remove-element/0027-remove-element.java -------------------------------------------------------------------------------- /Arrays_String/0027-remove-element/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0027-remove-element/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0027-remove-element/README.md -------------------------------------------------------------------------------- /Arrays_String/0028-find-the-index-of-the-first-occurrence-in-a-string/0028-find-the-index-of-the-first-occurrence-in-a-string.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0028-find-the-index-of-the-first-occurrence-in-a-string/0028-find-the-index-of-the-first-occurrence-in-a-string.java -------------------------------------------------------------------------------- /Arrays_String/0028-find-the-index-of-the-first-occurrence-in-a-string/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0028-find-the-index-of-the-first-occurrence-in-a-string/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0028-find-the-index-of-the-first-occurrence-in-a-string/README.md -------------------------------------------------------------------------------- /Arrays_String/0042-trapping-rain-water/0042-trapping-rain-water.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0042-trapping-rain-water/0042-trapping-rain-water.java -------------------------------------------------------------------------------- /Arrays_String/0042-trapping-rain-water/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0042-trapping-rain-water/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0042-trapping-rain-water/README.md -------------------------------------------------------------------------------- /Arrays_String/0045-jump-game-ii/0045-jump-game-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0045-jump-game-ii/0045-jump-game-ii.java -------------------------------------------------------------------------------- /Arrays_String/0045-jump-game-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0045-jump-game-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0045-jump-game-ii/README.md -------------------------------------------------------------------------------- /Arrays_String/0055-jump-game/0055-jump-game.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0055-jump-game/0055-jump-game.java -------------------------------------------------------------------------------- /Arrays_String/0055-jump-game/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0055-jump-game/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0055-jump-game/README.md -------------------------------------------------------------------------------- /Arrays_String/0058-length-of-last-word/0058-length-of-last-word.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0058-length-of-last-word/0058-length-of-last-word.java -------------------------------------------------------------------------------- /Arrays_String/0058-length-of-last-word/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0058-length-of-last-word/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0058-length-of-last-word/README.md -------------------------------------------------------------------------------- /Arrays_String/0068-text-justification/0068-text-justification.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0068-text-justification/0068-text-justification.java -------------------------------------------------------------------------------- /Arrays_String/0068-text-justification/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0068-text-justification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0068-text-justification/README.md -------------------------------------------------------------------------------- /Arrays_String/0080-remove-duplicates-from-sorted-array-ii/0080-remove-duplicates-from-sorted-array-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0080-remove-duplicates-from-sorted-array-ii/0080-remove-duplicates-from-sorted-array-ii.java -------------------------------------------------------------------------------- /Arrays_String/0080-remove-duplicates-from-sorted-array-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0080-remove-duplicates-from-sorted-array-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0080-remove-duplicates-from-sorted-array-ii/README.md -------------------------------------------------------------------------------- /Arrays_String/0088-merge-sorted-array/0088-merge-sorted-array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0088-merge-sorted-array/0088-merge-sorted-array.java -------------------------------------------------------------------------------- /Arrays_String/0088-merge-sorted-array/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0088-merge-sorted-array/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0088-merge-sorted-array/README.md -------------------------------------------------------------------------------- /Arrays_String/0121-best-time-to-buy-and-sell-stock/0121-best-time-to-buy-and-sell-stock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0121-best-time-to-buy-and-sell-stock/0121-best-time-to-buy-and-sell-stock.java -------------------------------------------------------------------------------- /Arrays_String/0121-best-time-to-buy-and-sell-stock/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0121-best-time-to-buy-and-sell-stock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0121-best-time-to-buy-and-sell-stock/README.md -------------------------------------------------------------------------------- /Arrays_String/0122-best-time-to-buy-and-sell-stock-ii/0122-best-time-to-buy-and-sell-stock-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0122-best-time-to-buy-and-sell-stock-ii/0122-best-time-to-buy-and-sell-stock-ii.java -------------------------------------------------------------------------------- /Arrays_String/0122-best-time-to-buy-and-sell-stock-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0122-best-time-to-buy-and-sell-stock-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0122-best-time-to-buy-and-sell-stock-ii/README.md -------------------------------------------------------------------------------- /Arrays_String/0134-gas-station/0134-gas-station.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0134-gas-station/0134-gas-station.java -------------------------------------------------------------------------------- /Arrays_String/0134-gas-station/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0134-gas-station/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0134-gas-station/README.md -------------------------------------------------------------------------------- /Arrays_String/0135-candy/0135-candy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0135-candy/0135-candy.java -------------------------------------------------------------------------------- /Arrays_String/0135-candy/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0135-candy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0135-candy/README.md -------------------------------------------------------------------------------- /Arrays_String/0151-reverse-words-in-a-string/0151-reverse-words-in-a-string.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0151-reverse-words-in-a-string/0151-reverse-words-in-a-string.java -------------------------------------------------------------------------------- /Arrays_String/0151-reverse-words-in-a-string/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0151-reverse-words-in-a-string/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0151-reverse-words-in-a-string/README.md -------------------------------------------------------------------------------- /Arrays_String/0169-majority-element/0169-majority-element.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0169-majority-element/0169-majority-element.java -------------------------------------------------------------------------------- /Arrays_String/0169-majority-element/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0189-rotate-array/0189-rotate-array.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0189-rotate-array/0189-rotate-array.java -------------------------------------------------------------------------------- /Arrays_String/0189-rotate-array/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0189-rotate-array/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0189-rotate-array/README.md -------------------------------------------------------------------------------- /Arrays_String/0238-product-of-array-except-self/0238-product-of-array-except-self.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0238-product-of-array-except-self/0238-product-of-array-except-self.java -------------------------------------------------------------------------------- /Arrays_String/0238-product-of-array-except-self/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0238-product-of-array-except-self/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0238-product-of-array-except-self/README.md -------------------------------------------------------------------------------- /Arrays_String/0274-h-index/0274-h-index.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0274-h-index/0274-h-index.java -------------------------------------------------------------------------------- /Arrays_String/0274-h-index/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0274-h-index/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0274-h-index/README.md -------------------------------------------------------------------------------- /Arrays_String/0380-insert-delete-getrandom-o1/0380-insert-delete-getrandom-o1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0380-insert-delete-getrandom-o1/0380-insert-delete-getrandom-o1.java -------------------------------------------------------------------------------- /Arrays_String/0380-insert-delete-getrandom-o1/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Arrays_String/0380-insert-delete-getrandom-o1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Arrays_String/0380-insert-delete-getrandom-o1/README.md -------------------------------------------------------------------------------- /BFS of graph - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/BFS of graph - GFG/README.md -------------------------------------------------------------------------------- /BFS of graph - GFG/bfs-of-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/BFS of graph - GFG/bfs-of-graph.java -------------------------------------------------------------------------------- /Binary Search Tree/0098-validate-binary-search-tree/0098-validate-binary-search-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0098-validate-binary-search-tree/0098-validate-binary-search-tree.java -------------------------------------------------------------------------------- /Binary Search Tree/0098-validate-binary-search-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Search Tree/0098-validate-binary-search-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0098-validate-binary-search-tree/README.md -------------------------------------------------------------------------------- /Binary Search Tree/0230-kth-smallest-element-in-a-bst/0230-kth-smallest-element-in-a-bst.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0230-kth-smallest-element-in-a-bst/0230-kth-smallest-element-in-a-bst.java -------------------------------------------------------------------------------- /Binary Search Tree/0230-kth-smallest-element-in-a-bst/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Search Tree/0230-kth-smallest-element-in-a-bst/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0230-kth-smallest-element-in-a-bst/README.md -------------------------------------------------------------------------------- /Binary Search Tree/0530-minimum-absolute-difference-in-bst/0530-minimum-absolute-difference-in-bst.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0530-minimum-absolute-difference-in-bst/0530-minimum-absolute-difference-in-bst.java -------------------------------------------------------------------------------- /Binary Search Tree/0530-minimum-absolute-difference-in-bst/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Search Tree/0530-minimum-absolute-difference-in-bst/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Search Tree/0530-minimum-absolute-difference-in-bst/README.md -------------------------------------------------------------------------------- /Binary Tree BFS/0102-binary-tree-level-order-traversal/0102-binary-tree-level-order-traversal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0102-binary-tree-level-order-traversal/0102-binary-tree-level-order-traversal.java -------------------------------------------------------------------------------- /Binary Tree BFS/0102-binary-tree-level-order-traversal/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree BFS/0102-binary-tree-level-order-traversal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0102-binary-tree-level-order-traversal/README.md -------------------------------------------------------------------------------- /Binary Tree BFS/0103-binary-tree-zigzag-level-order-traversal/0103-binary-tree-zigzag-level-order-traversal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0103-binary-tree-zigzag-level-order-traversal/0103-binary-tree-zigzag-level-order-traversal.java -------------------------------------------------------------------------------- /Binary Tree BFS/0103-binary-tree-zigzag-level-order-traversal/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree BFS/0103-binary-tree-zigzag-level-order-traversal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0103-binary-tree-zigzag-level-order-traversal/README.md -------------------------------------------------------------------------------- /Binary Tree BFS/0199-binary-tree-right-side-view/0199-binary-tree-right-side-view.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0199-binary-tree-right-side-view/0199-binary-tree-right-side-view.java -------------------------------------------------------------------------------- /Binary Tree BFS/0199-binary-tree-right-side-view/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree BFS/0637-average-of-levels-in-binary-tree/0637-average-of-levels-in-binary-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0637-average-of-levels-in-binary-tree/0637-average-of-levels-in-binary-tree.java -------------------------------------------------------------------------------- /Binary Tree BFS/0637-average-of-levels-in-binary-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree BFS/0637-average-of-levels-in-binary-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree BFS/0637-average-of-levels-in-binary-tree/README.md -------------------------------------------------------------------------------- /Binary Tree General/0100-same-tree/0100-same-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0100-same-tree/0100-same-tree.java -------------------------------------------------------------------------------- /Binary Tree General/0100-same-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0100-same-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0100-same-tree/README.md -------------------------------------------------------------------------------- /Binary Tree General/0101-symmetric-tree/0101-symmetric-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0101-symmetric-tree/0101-symmetric-tree.java -------------------------------------------------------------------------------- /Binary Tree General/0101-symmetric-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0101-symmetric-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0101-symmetric-tree/README.md -------------------------------------------------------------------------------- /Binary Tree General/0104-maximum-depth-of-binary-tree/0104-maximum-depth-of-binary-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0104-maximum-depth-of-binary-tree/0104-maximum-depth-of-binary-tree.java -------------------------------------------------------------------------------- /Binary Tree General/0104-maximum-depth-of-binary-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0104-maximum-depth-of-binary-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0104-maximum-depth-of-binary-tree/README.md -------------------------------------------------------------------------------- /Binary Tree General/0105-construct-binary-tree-from-preorder-and-inorder-traversal/0105-construct-binary-tree-from-preorder-and-inorder-traversal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0105-construct-binary-tree-from-preorder-and-inorder-traversal/0105-construct-binary-tree-from-preorder-and-inorder-traversal.java -------------------------------------------------------------------------------- /Binary Tree General/0105-construct-binary-tree-from-preorder-and-inorder-traversal/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0105-construct-binary-tree-from-preorder-and-inorder-traversal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0105-construct-binary-tree-from-preorder-and-inorder-traversal/README.md -------------------------------------------------------------------------------- /Binary Tree General/0106-construct-binary-tree-from-inorder-and-postorder-traversal/0106-construct-binary-tree-from-inorder-and-postorder-traversal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0106-construct-binary-tree-from-inorder-and-postorder-traversal/0106-construct-binary-tree-from-inorder-and-postorder-traversal.java -------------------------------------------------------------------------------- /Binary Tree General/0106-construct-binary-tree-from-inorder-and-postorder-traversal/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0106-construct-binary-tree-from-inorder-and-postorder-traversal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0106-construct-binary-tree-from-inorder-and-postorder-traversal/README.md -------------------------------------------------------------------------------- /Binary Tree General/0112-path-sum/0112-path-sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0112-path-sum/0112-path-sum.java -------------------------------------------------------------------------------- /Binary Tree General/0112-path-sum/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0112-path-sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0112-path-sum/README.md -------------------------------------------------------------------------------- /Binary Tree General/0114-flatten-binary-tree-to-linked-list/0114-flatten-binary-tree-to-linked-list.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0114-flatten-binary-tree-to-linked-list/0114-flatten-binary-tree-to-linked-list.java -------------------------------------------------------------------------------- /Binary Tree General/0114-flatten-binary-tree-to-linked-list/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0114-flatten-binary-tree-to-linked-list/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0114-flatten-binary-tree-to-linked-list/README.md -------------------------------------------------------------------------------- /Binary Tree General/0117-populating-next-right-pointers-in-each-node-ii/0117-populating-next-right-pointers-in-each-node-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0117-populating-next-right-pointers-in-each-node-ii/0117-populating-next-right-pointers-in-each-node-ii.java -------------------------------------------------------------------------------- /Binary Tree General/0117-populating-next-right-pointers-in-each-node-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0117-populating-next-right-pointers-in-each-node-ii/README.md -------------------------------------------------------------------------------- /Binary Tree General/0124-binary-tree-maximum-path-sum/0124-binary-tree-maximum-path-sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0124-binary-tree-maximum-path-sum/0124-binary-tree-maximum-path-sum.java -------------------------------------------------------------------------------- /Binary Tree General/0124-binary-tree-maximum-path-sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0124-binary-tree-maximum-path-sum/README.md -------------------------------------------------------------------------------- /Binary Tree General/0129-sum-root-to-leaf-numbers/0129-sum-root-to-leaf-numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0129-sum-root-to-leaf-numbers/0129-sum-root-to-leaf-numbers.java -------------------------------------------------------------------------------- /Binary Tree General/0129-sum-root-to-leaf-numbers/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0129-sum-root-to-leaf-numbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0129-sum-root-to-leaf-numbers/README.md -------------------------------------------------------------------------------- /Binary Tree General/0173-binary-search-tree-iterator/0173-binary-search-tree-iterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0173-binary-search-tree-iterator/0173-binary-search-tree-iterator.java -------------------------------------------------------------------------------- /Binary Tree General/0173-binary-search-tree-iterator/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0173-binary-search-tree-iterator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0173-binary-search-tree-iterator/README.md -------------------------------------------------------------------------------- /Binary Tree General/0222-count-complete-tree-nodes/0222-count-complete-tree-nodes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0222-count-complete-tree-nodes/0222-count-complete-tree-nodes.java -------------------------------------------------------------------------------- /Binary Tree General/0222-count-complete-tree-nodes/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0226-invert-binary-tree/0226-invert-binary-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0226-invert-binary-tree/0226-invert-binary-tree.java -------------------------------------------------------------------------------- /Binary Tree General/0226-invert-binary-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Binary Tree General/0226-invert-binary-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0226-invert-binary-tree/README.md -------------------------------------------------------------------------------- /Binary Tree General/0236-lowest-common-ancestor-of-a-binary-tree/0236-lowest-common-ancestor-of-a-binary-tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Binary Tree General/0236-lowest-common-ancestor-of-a-binary-tree/0236-lowest-common-ancestor-of-a-binary-tree.java -------------------------------------------------------------------------------- /Binary Tree General/0236-lowest-common-ancestor-of-a-binary-tree/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /DFS of Graph - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/DFS of Graph - GFG/README.md -------------------------------------------------------------------------------- /DFS of Graph - GFG/dfs-of-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/DFS of Graph - GFG/dfs-of-graph.java -------------------------------------------------------------------------------- /Detect cycle in a directed graph - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Detect cycle in a directed graph - GFG/README.md -------------------------------------------------------------------------------- /Detect cycle in a directed graph - GFG/detect-cycle-in-a-directed-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Detect cycle in a directed graph - GFG/detect-cycle-in-a-directed-graph.java -------------------------------------------------------------------------------- /Detect cycle in an undirected graph - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Detect cycle in an undirected graph - GFG/README.md -------------------------------------------------------------------------------- /Detect cycle in an undirected graph - GFG/detect-cycle-in-an-undirected-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Detect cycle in an undirected graph - GFG/detect-cycle-in-an-undirected-graph.java -------------------------------------------------------------------------------- /Distance of nearest cell having 1 - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Distance of nearest cell having 1 - GFG/README.md -------------------------------------------------------------------------------- /Distance of nearest cell having 1 - GFG/distance-of-nearest-cell-having-1.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Distance of nearest cell having 1 - GFG/distance-of-nearest-cell-having-1.java -------------------------------------------------------------------------------- /Eventual Safe States - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Eventual Safe States - GFG/README.md -------------------------------------------------------------------------------- /Eventual Safe States - GFG/eventual-safe-states.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Eventual Safe States - GFG/eventual-safe-states.java -------------------------------------------------------------------------------- /Graph General/0130-surrounded-regions/0130-surrounded-regions.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0130-surrounded-regions/0130-surrounded-regions.java -------------------------------------------------------------------------------- /Graph General/0130-surrounded-regions/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0130-surrounded-regions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0130-surrounded-regions/README.md -------------------------------------------------------------------------------- /Graph General/0133-clone-graph/0133-clone-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0133-clone-graph/0133-clone-graph.java -------------------------------------------------------------------------------- /Graph General/0133-clone-graph/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0133-clone-graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0133-clone-graph/README.md -------------------------------------------------------------------------------- /Graph General/0200-number-of-islands/0200-number-of-islands.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0200-number-of-islands/0200-number-of-islands.java -------------------------------------------------------------------------------- /Graph General/0200-number-of-islands/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0200-number-of-islands/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0200-number-of-islands/README.md -------------------------------------------------------------------------------- /Graph General/0207-course-schedule/0207-course-schedule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0207-course-schedule/0207-course-schedule.java -------------------------------------------------------------------------------- /Graph General/0207-course-schedule/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0207-course-schedule/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0207-course-schedule/README.md -------------------------------------------------------------------------------- /Graph General/0210-course-schedule-ii/0210-course-schedule-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0210-course-schedule-ii/0210-course-schedule-ii.java -------------------------------------------------------------------------------- /Graph General/0210-course-schedule-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0210-course-schedule-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0210-course-schedule-ii/README.md -------------------------------------------------------------------------------- /Graph General/0399-evaluate-division/0399-evaluate-division.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0399-evaluate-division/0399-evaluate-division.java -------------------------------------------------------------------------------- /Graph General/0399-evaluate-division/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Graph General/0399-evaluate-division/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Graph General/0399-evaluate-division/README.md -------------------------------------------------------------------------------- /HashMap/0001-two-sum/0001-two-sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0001-two-sum/0001-two-sum.java -------------------------------------------------------------------------------- /HashMap/0001-two-sum/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0001-two-sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0001-two-sum/README.md -------------------------------------------------------------------------------- /HashMap/0049-group-anagrams/0049-group-anagrams.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0049-group-anagrams/0049-group-anagrams.java -------------------------------------------------------------------------------- /HashMap/0049-group-anagrams/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0049-group-anagrams/README.md -------------------------------------------------------------------------------- /HashMap/0128-longest-consecutive-sequence/0128-longest-consecutive-sequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0128-longest-consecutive-sequence/0128-longest-consecutive-sequence.java -------------------------------------------------------------------------------- /HashMap/0128-longest-consecutive-sequence/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0128-longest-consecutive-sequence/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0128-longest-consecutive-sequence/README.md -------------------------------------------------------------------------------- /HashMap/0202-happy-number/0202-happy-number.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0202-happy-number/0202-happy-number.java -------------------------------------------------------------------------------- /HashMap/0202-happy-number/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0202-happy-number/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0202-happy-number/README.md -------------------------------------------------------------------------------- /HashMap/0205-isomorphic-strings/0205-isomorphic-strings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0205-isomorphic-strings/0205-isomorphic-strings.java -------------------------------------------------------------------------------- /HashMap/0205-isomorphic-strings/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0205-isomorphic-strings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0205-isomorphic-strings/README.md -------------------------------------------------------------------------------- /HashMap/0219-contains-duplicate-ii/0219-contains-duplicate-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0219-contains-duplicate-ii/0219-contains-duplicate-ii.java -------------------------------------------------------------------------------- /HashMap/0219-contains-duplicate-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0219-contains-duplicate-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0219-contains-duplicate-ii/README.md -------------------------------------------------------------------------------- /HashMap/0242-valid-anagram/0242-valid-anagram.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0242-valid-anagram/0242-valid-anagram.java -------------------------------------------------------------------------------- /HashMap/0242-valid-anagram/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0290-word-pattern/0290-word-pattern.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0290-word-pattern/0290-word-pattern.java -------------------------------------------------------------------------------- /HashMap/0290-word-pattern/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0290-word-pattern/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0290-word-pattern/README.md -------------------------------------------------------------------------------- /HashMap/0383-ransom-note/0383-ransom-note.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0383-ransom-note/0383-ransom-note.java -------------------------------------------------------------------------------- /HashMap/0383-ransom-note/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /HashMap/0383-ransom-note/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/HashMap/0383-ransom-note/README.md -------------------------------------------------------------------------------- /Implementing Dijkstra Algorithm - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Implementing Dijkstra Algorithm - GFG/README.md -------------------------------------------------------------------------------- /Implementing Dijkstra Algorithm - GFG/implementing-dijkstra-algorithm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Implementing Dijkstra Algorithm - GFG/implementing-dijkstra-algorithm.java -------------------------------------------------------------------------------- /Intervals/0056-merge-intervals/0056-merge-intervals.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0056-merge-intervals/0056-merge-intervals.java -------------------------------------------------------------------------------- /Intervals/0056-merge-intervals/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Intervals/0056-merge-intervals/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0056-merge-intervals/README.md -------------------------------------------------------------------------------- /Intervals/0057-insert-interval/0057-insert-interval.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0057-insert-interval/0057-insert-interval.java -------------------------------------------------------------------------------- /Intervals/0057-insert-interval/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Intervals/0057-insert-interval/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0057-insert-interval/README.md -------------------------------------------------------------------------------- /Intervals/0228-summary-ranges/0228-summary-ranges.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0228-summary-ranges/0228-summary-ranges.java -------------------------------------------------------------------------------- /Intervals/0228-summary-ranges/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0228-summary-ranges/README.md -------------------------------------------------------------------------------- /Intervals/0452-minimum-number-of-arrows-to-burst-balloons/0452-minimum-number-of-arrows-to-burst-balloons.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Intervals/0452-minimum-number-of-arrows-to-burst-balloons/0452-minimum-number-of-arrows-to-burst-balloons.java -------------------------------------------------------------------------------- /Intervals/0452-minimum-number-of-arrows-to-burst-balloons/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0002-add-two-numbers/0002-add-two-numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0002-add-two-numbers/0002-add-two-numbers.java -------------------------------------------------------------------------------- /Linked List/0002-add-two-numbers/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0002-add-two-numbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0002-add-two-numbers/README.md -------------------------------------------------------------------------------- /Linked List/0019-remove-nth-node-from-end-of-list/0019-remove-nth-node-from-end-of-list.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0019-remove-nth-node-from-end-of-list/0019-remove-nth-node-from-end-of-list.java -------------------------------------------------------------------------------- /Linked List/0019-remove-nth-node-from-end-of-list/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0019-remove-nth-node-from-end-of-list/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0019-remove-nth-node-from-end-of-list/README.md -------------------------------------------------------------------------------- /Linked List/0021-merge-two-sorted-lists/0021-merge-two-sorted-lists.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0021-merge-two-sorted-lists/0021-merge-two-sorted-lists.java -------------------------------------------------------------------------------- /Linked List/0021-merge-two-sorted-lists/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0021-merge-two-sorted-lists/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0021-merge-two-sorted-lists/README.md -------------------------------------------------------------------------------- /Linked List/0025-reverse-nodes-in-k-group/0025-reverse-nodes-in-k-group.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0025-reverse-nodes-in-k-group/0025-reverse-nodes-in-k-group.java -------------------------------------------------------------------------------- /Linked List/0025-reverse-nodes-in-k-group/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0025-reverse-nodes-in-k-group/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0025-reverse-nodes-in-k-group/README.md -------------------------------------------------------------------------------- /Linked List/0061-rotate-list/0061-rotate-list.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0061-rotate-list/0061-rotate-list.java -------------------------------------------------------------------------------- /Linked List/0061-rotate-list/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0061-rotate-list/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0061-rotate-list/README.md -------------------------------------------------------------------------------- /Linked List/0082-remove-duplicates-from-sorted-list-ii/0082-remove-duplicates-from-sorted-list-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0082-remove-duplicates-from-sorted-list-ii/0082-remove-duplicates-from-sorted-list-ii.java -------------------------------------------------------------------------------- /Linked List/0082-remove-duplicates-from-sorted-list-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0082-remove-duplicates-from-sorted-list-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0082-remove-duplicates-from-sorted-list-ii/README.md -------------------------------------------------------------------------------- /Linked List/0086-partition-list/0086-partition-list.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0086-partition-list/0086-partition-list.java -------------------------------------------------------------------------------- /Linked List/0086-partition-list/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0086-partition-list/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0086-partition-list/README.md -------------------------------------------------------------------------------- /Linked List/0092-reverse-linked-list-ii/0092-reverse-linked-list-ii.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0092-reverse-linked-list-ii/0092-reverse-linked-list-ii.java -------------------------------------------------------------------------------- /Linked List/0092-reverse-linked-list-ii/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0092-reverse-linked-list-ii/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0092-reverse-linked-list-ii/README.md -------------------------------------------------------------------------------- /Linked List/0138-copy-list-with-random-pointer/0138-copy-list-with-random-pointer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0138-copy-list-with-random-pointer/0138-copy-list-with-random-pointer.java -------------------------------------------------------------------------------- /Linked List/0138-copy-list-with-random-pointer/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0138-copy-list-with-random-pointer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0138-copy-list-with-random-pointer/README.md -------------------------------------------------------------------------------- /Linked List/0141-linked-list-cycle/0141-linked-list-cycle.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0141-linked-list-cycle/0141-linked-list-cycle.java -------------------------------------------------------------------------------- /Linked List/0141-linked-list-cycle/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0141-linked-list-cycle/README.md -------------------------------------------------------------------------------- /Linked List/0146-lru-cache/0146-lru-cache.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0146-lru-cache/0146-lru-cache.java -------------------------------------------------------------------------------- /Linked List/0146-lru-cache/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Linked List/0146-lru-cache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Linked List/0146-lru-cache/README.md -------------------------------------------------------------------------------- /Matrix/0036-valid-sudoku/0036-valid-sudoku.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0036-valid-sudoku/0036-valid-sudoku.java -------------------------------------------------------------------------------- /Matrix/0036-valid-sudoku/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Matrix/0036-valid-sudoku/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0036-valid-sudoku/README.md -------------------------------------------------------------------------------- /Matrix/0048-rotate-image/0048-rotate-image.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0048-rotate-image/0048-rotate-image.java -------------------------------------------------------------------------------- /Matrix/0048-rotate-image/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Matrix/0048-rotate-image/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0048-rotate-image/README.md -------------------------------------------------------------------------------- /Matrix/0054-spiral-matrix/0054-spiral-matrix.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0054-spiral-matrix/0054-spiral-matrix.java -------------------------------------------------------------------------------- /Matrix/0054-spiral-matrix/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Matrix/0054-spiral-matrix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0054-spiral-matrix/README.md -------------------------------------------------------------------------------- /Matrix/0073-set-matrix-zeroes/0073-set-matrix-zeroes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0073-set-matrix-zeroes/0073-set-matrix-zeroes.java -------------------------------------------------------------------------------- /Matrix/0073-set-matrix-zeroes/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Matrix/0073-set-matrix-zeroes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0073-set-matrix-zeroes/README.md -------------------------------------------------------------------------------- /Matrix/0289-game-of-life/0289-game-of-life.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0289-game-of-life/0289-game-of-life.java -------------------------------------------------------------------------------- /Matrix/0289-game-of-life/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Matrix/0289-game-of-life/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Matrix/0289-game-of-life/README.md -------------------------------------------------------------------------------- /Number of Distinct Islands - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Number of Distinct Islands - GFG/README.md -------------------------------------------------------------------------------- /Number of Distinct Islands - GFG/number-of-distinct-islands.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Number of Distinct Islands - GFG/number-of-distinct-islands.java -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/README.md -------------------------------------------------------------------------------- /Shortest path in Directed Acyclic Graph - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Shortest path in Directed Acyclic Graph - GFG/README.md -------------------------------------------------------------------------------- /Shortest path in Directed Acyclic Graph - GFG/shortest-path-in-directed-acyclic-graph.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Shortest path in Directed Acyclic Graph - GFG/shortest-path-in-directed-acyclic-graph.java -------------------------------------------------------------------------------- /Shortest path in Undirected Graph having unit distance - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Shortest path in Undirected Graph having unit distance - GFG/README.md -------------------------------------------------------------------------------- /Shortest path in Undirected Graph having unit distance - GFG/shortest-path-in-undirected-graph-having-unit-distance.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Shortest path in Undirected Graph having unit distance - GFG/shortest-path-in-undirected-graph-having-unit-distance.java -------------------------------------------------------------------------------- /Sliding Window/0003-longest-substring-without-repeating-characters/0003-longest-substring-without-repeating-characters.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0003-longest-substring-without-repeating-characters/0003-longest-substring-without-repeating-characters.java -------------------------------------------------------------------------------- /Sliding Window/0003-longest-substring-without-repeating-characters/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Sliding Window/0003-longest-substring-without-repeating-characters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0003-longest-substring-without-repeating-characters/README.md -------------------------------------------------------------------------------- /Sliding Window/0030-substring-with-concatenation-of-all-words/0030-substring-with-concatenation-of-all-words.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0030-substring-with-concatenation-of-all-words/0030-substring-with-concatenation-of-all-words.java -------------------------------------------------------------------------------- /Sliding Window/0030-substring-with-concatenation-of-all-words/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Sliding Window/0030-substring-with-concatenation-of-all-words/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0030-substring-with-concatenation-of-all-words/README.md -------------------------------------------------------------------------------- /Sliding Window/0076-minimum-window-substring/0076-minimum-window-substring.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0076-minimum-window-substring/0076-minimum-window-substring.java -------------------------------------------------------------------------------- /Sliding Window/0076-minimum-window-substring/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Sliding Window/0076-minimum-window-substring/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0076-minimum-window-substring/README.md -------------------------------------------------------------------------------- /Sliding Window/0209-minimum-size-subarray-sum/0209-minimum-size-subarray-sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0209-minimum-size-subarray-sum/0209-minimum-size-subarray-sum.java -------------------------------------------------------------------------------- /Sliding Window/0209-minimum-size-subarray-sum/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Sliding Window/0209-minimum-size-subarray-sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Sliding Window/0209-minimum-size-subarray-sum/README.md -------------------------------------------------------------------------------- /Stack/0020-valid-parentheses/0020-valid-parentheses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0020-valid-parentheses/0020-valid-parentheses.java -------------------------------------------------------------------------------- /Stack/0020-valid-parentheses/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Stack/0020-valid-parentheses/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0020-valid-parentheses/README.md -------------------------------------------------------------------------------- /Stack/0071-simplify-path/0071-simplify-path.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0071-simplify-path/0071-simplify-path.java -------------------------------------------------------------------------------- /Stack/0071-simplify-path/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Stack/0071-simplify-path/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0071-simplify-path/README.md -------------------------------------------------------------------------------- /Stack/0150-evaluate-reverse-polish-notation/0150-evaluate-reverse-polish-notation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0150-evaluate-reverse-polish-notation/0150-evaluate-reverse-polish-notation.java -------------------------------------------------------------------------------- /Stack/0150-evaluate-reverse-polish-notation/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Stack/0150-evaluate-reverse-polish-notation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0150-evaluate-reverse-polish-notation/README.md -------------------------------------------------------------------------------- /Stack/0155-min-stack/0155-min-stack.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0155-min-stack/0155-min-stack.java -------------------------------------------------------------------------------- /Stack/0155-min-stack/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Stack/0155-min-stack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0155-min-stack/README.md -------------------------------------------------------------------------------- /Stack/0224-basic-calculator/0224-basic-calculator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0224-basic-calculator/0224-basic-calculator.java -------------------------------------------------------------------------------- /Stack/0224-basic-calculator/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Stack/0224-basic-calculator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Stack/0224-basic-calculator/README.md -------------------------------------------------------------------------------- /Topological sort - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Topological sort - GFG/README.md -------------------------------------------------------------------------------- /Topological sort - GFG/topological-sort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Topological sort - GFG/topological-sort.java -------------------------------------------------------------------------------- /Two Pointers/0011-container-with-most-water/0011-container-with-most-water.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0011-container-with-most-water/0011-container-with-most-water.java -------------------------------------------------------------------------------- /Two Pointers/0011-container-with-most-water/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Two Pointers/0011-container-with-most-water/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0011-container-with-most-water/README.md -------------------------------------------------------------------------------- /Two Pointers/0015-3sum/0015-3sum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0015-3sum/0015-3sum.java -------------------------------------------------------------------------------- /Two Pointers/0015-3sum/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Two Pointers/0015-3sum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0015-3sum/README.md -------------------------------------------------------------------------------- /Two Pointers/0125-valid-palindrome/0125-valid-palindrome.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0125-valid-palindrome/0125-valid-palindrome.java -------------------------------------------------------------------------------- /Two Pointers/0125-valid-palindrome/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Two Pointers/0125-valid-palindrome/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0125-valid-palindrome/README.md -------------------------------------------------------------------------------- /Two Pointers/0167-two-sum-ii-input-array-is-sorted/0167-two-sum-ii-input-array-is-sorted.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0167-two-sum-ii-input-array-is-sorted/0167-two-sum-ii-input-array-is-sorted.java -------------------------------------------------------------------------------- /Two Pointers/0167-two-sum-ii-input-array-is-sorted/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Two Pointers/0167-two-sum-ii-input-array-is-sorted/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0167-two-sum-ii-input-array-is-sorted/README.md -------------------------------------------------------------------------------- /Two Pointers/0392-is-subsequence/0392-is-subsequence.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0392-is-subsequence/0392-is-subsequence.java -------------------------------------------------------------------------------- /Two Pointers/0392-is-subsequence/NOTES.md: -------------------------------------------------------------------------------- 1 | ​ -------------------------------------------------------------------------------- /Two Pointers/0392-is-subsequence/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Two Pointers/0392-is-subsequence/README.md -------------------------------------------------------------------------------- /Union of two arrays - GFG/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Union of two arrays - GFG/README.md -------------------------------------------------------------------------------- /Union of two arrays - GFG/union-of-two-arrays.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anuj-thakur-513/Top-Interview-Questions/HEAD/Union of two arrays - GFG/union-of-two-arrays.java --------------------------------------------------------------------------------