0% found this document useful (0 votes)
162 views5 pages

InterviewPrep - PepcodingQuestion - XLSX - Sheet1

The document discusses various array problems and their solutions. It provides links to over 40 array-related problems on websites like GeeksforGeeks and LeetCode along with brief descriptions and potential solution approaches for each problem.

Uploaded by

Tushar Sagar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
162 views5 pages

InterviewPrep - PepcodingQuestion - XLSX - Sheet1

The document discusses various array problems and their solutions. It provides links to over 40 array-related problems on websites like GeeksforGeeks and LeetCode along with brief descriptions and potential solution approaches for each problem.

Uploaded by

Tushar Sagar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

1 Array https://www.codechef.

com/JAN18/problems/KCON/ Pep_JavaIP_1Arrays_1Kcon Kadanes


1 Array done https://www.geeksforgeeks.org/find-subarray-with-given-sum/ Pep_JavaIP_1Arrays_2TarSub 2 Pointer method https://www.geeksforgeeks.org/minimum-length-subarray-sum-greater-given-value/
1 Array done https://www.geeksforgeeks.org/equilibrium-index-of-an-array/ Pep_JavaIP_1Arrays_3Equilibrium_point LeftRightTraversal
1 Array https://www.geeksforgeeks.org/dynamic-programming-set-14-maximum-sum-increasing-subsequence/ Pep_JavaIP_1Arrays_4Max_sum_increasing_subsequence LIS
1 Array https://www.geeksforgeeks.org/convert-array-into-zig-zag-fashion/ Pep_JavaIP_1Arrays_5Zigzag_array Solve the Spot
1 Array done https://www.geeksforgeeks.org/find-a-pair-with-the-given-difference/ Pep_JavaIP_1Arrays_6findpair 2 Pointer method
1 Array done https://www.geeksforgeeks.org/chocolate-distribution-problem/ Pep_JavaIP_1Arrays_7Chocolate Sliding Window
1 Array done https://www.geeksforgeeks.org/minimum-number-platforms-required-railwaybus-station/ Pep_JavaIP_1Arrays_8platforms MergeSort
1 Array https://www.geeksforgeeks.org/trapping-rain-water/ Pep_JavaIP_1Arrays_9Trappingrainwater LeftRightTraversal
1 Array https://www.geeksforgeeks.org/stock-buy-sell/ Pep_JavaIP_1Arrays_10StockBuySell 2 Pointer method
1 Array https://www.geeksforgeeks.org/inplace-rotate-square-matrix-by-90-degrees/ Pep_JavaIP_1Arrays_11rotatearray90 MatrixRotation
1 Array https://www.geeksforgeeks.org/find-k-pairs-smallest-sums-two-arrays/ Pep_JavaIP_1Arrays_12kpairsmallest Miscellanous
1 Array https://www.geeksforgeeks.org/search-an-element-in-a-sorted-and-pivoted-array/ Pep_JavaIP_1Arrays_14searchInSortedAndRotated BinarySearch
1 Array https://www.geeksforgeeks.org/given-a-sorted-and-rotated-array-find-if-there-is-a-pair-with-a-given-sum/ Pep_JavaIP_1Arrays_15PairSumInSortedAndRotated BinarySearch
1 Array https://www.geeksforgeeks.org/maximum-sum-iarri-among-rotations-given-array/ Pep_JavaIP_1Arrays_16MaxsumIArrIForRotationsOfArray Maths
1 Array https://www.geeksforgeeks.org/rearrange-positive-and-negative-numbers-publish/ Pep_JavaIP_1Arrays_17RearrangePositiveNegative 3WayPartition
1 Array https://www.geeksforgeeks.org/three-way-partitioning-of-an-array-around-a-given-range/ Pep_JavaIP_1Arrays_18ThreeWayPartitioning 3WayPartition
1 Array https://www.geeksforgeeks.org/maximum-length-bitonic-subarray/ Pep_JavaIP_1Arrays_19LongestBitonicSubarray 2 Pointer Method
1 Array https://www.geeksforgeeks.org/largest-subarray-with-equal-number-of-0s-and-1s/ Pep_JavaIP_1Arrays_20LongestSubarrayWithEqual0sAnd1s Sliding Window
1 Array https://www.geeksforgeeks.org/maximum-product-subarray/ Pep_JavaIP_1Arrays_21MaxProductSubarray Kadanes
1 Array https://www.geeksforgeeks.org/counting-inversions/ Pep_JavaIP_1Arrays_22CountingInversions MergeSort
1 Array https://www.geeksforgeeks.org/segregate-0s-and-1s-in-an-array-by-traversing-array-once/ Pep_JavaIP_1Arrays_23Sort01 3WayPartition
1 Array https://www.geeksforgeeks.org/sort-an-array-of-0s-1s-and-2s/ Pep_JavaIP_1Arrays_24Sort012 3WayPartition
1 Array https://www.geeksforgeeks.org/merging-intervals/ Pep_JavaIP_1Arrays_25MergingIntervals Miscellanous
1 Array https://www.geeksforgeeks.org/maximum-profit-by-buying-and-selling-a-share-at-most-twice/ Pep_JavaIP_1Arrays_26StockBuySell2times LeftRightTraversal
1 Array https://www.geeksforgeeks.org/maximum-profit-by-buying-and-selling-a-share-at-most-k-times/ Pep_JavaIP_1Arrays_27StockBuySellktimes DP
1 Array https://www.geeksforgeeks.org/maximum-difference-between-two-elements/ Pep_JavaIP_1Arrays_28StockBuySell1time Kadanes
1 Array https://www.geeksforgeeks.org/minimize-the-maximum-difference-between-the-heights/ Pep_JavaIP_1Arrays_28MinimizeTheMaximumDifference Greedy
1 Array https://www.geeksforgeeks.org/move-zeroes-end-array/ Pep_JavaIP_1Arrays_29MoveZeroesToEnd 3WayPartition https://www.geeksforgeeks.org/move-zeroes-end-array-set-2-using-single-traversal/
1 Array https://www.geeksforgeeks.org/minimum-swaps-required-bring-elements-less-equal-k-together/ Pep_JavaIP_1Arrays_30BringLessThanKTogetherInMinSwaps Sliding Window
1 Array https://www.geeksforgeeks.org/largest-sum-subarray-least-k-numbers/ Pep_JavaIP_1Arrays_31LargestSubarraySumwithAtleastK Sliding Window, Kadanes
1 Array https://www.geeksforgeeks.org/form-minimum-number-from-given-sequence/ Pep_JavaIP_1Arrays_32MinimumNumberDISequence Miscellanous
1 Array https://www.geeksforgeeks.org/find-smallest-value-represented-sum-subset-given-array/ Pep_JavaIP_1Arrays_33SmalestPossiblePositiveNumber Maths
1 Array https://www.geeksforgeeks.org/generate-all-possible-sorted-arrays-from-alternate-elements-of-two-given-arrays/ Pep_JavaIP_1Arrays_34GenerateAllPossibleSortedArrays RecursionInArrays
1 Array https://leetcode.com/problems/next-permutation/description/ Pep_JavaIP_1Arrays_35NextPermutation Miscellanous
1 Array https://www.geeksforgeeks.org/given-an-array-arr-find-the-maximum-j-i-such-that-arrj-arri/ Pep_JavaIP_1Arrays_36Maximumjminusi LeftRightTraversal
1 Array https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/description/ Pep_JavaIP_37MaximumSumof3NonOverlappingSubarrays LeftRightTraversal
1 Array https://www.geeksforgeeks.org/number-subarrays-maximum-value-given-range/ Pep_JavaIP_1Arrays_38CountSAsWithMaxInRange Maths
1 Array https://www.geeksforgeeks.org/print-all-possible-combinations-of-r-elements-in-a-given-array-of-size-n/ Pep_JavaIP_1Arrays_39NCRCombinations RecursionInArrays
1 Array https://www.geeksforgeeks.org/longest-subarray-sum-divisible-k/ Pep_JavaIP_1Arrays_40LongestSubArrayDivisibleByK Sliding Window
1 Array https://www.geeksforgeeks.org/find-minimum-number-of-merge-operations-to-make-an-array-palindrome/ Pep_JavaIP_1Arrays_41MinimumMergeOpsRequiredToCreatePalindrome
2 Pointer Method
1 Array https://www.geeksforgeeks.org/reorder-a-array-according-to-given-indexes/ Pep_JavaIP_1Arrays_42ReorderArrayIndexwise ReorderArray
1 Array https://www.codechef.com/JAN18/problems/MAXSC/ Pep_JavaIP_1Arrays_43MaxSCCodeChef Miscellanous
1 Array https://www.geeksforgeeks.org/rearrange-array-maximum-minimum-form-set-2-o1-extra-space/ Pep_JavaIP_1Arrays_44RearrangeMaximumMinimumForm 2InfoOnSameIndex
1 Array https://www.geeksforgeeks.org/given-an-array-of-numbers-arrange-the-numbers-to-form-the-biggest-number/ Pep_JavaIP_45RearrangePrintBiggestNumber
1 Array https://www.geeksforgeeks.org/space-optimization-using-bit-manipulations/ Pep_JavaIP_1Arrays_46SpaceOptimizationUsingBits BitManipulation
1 Array https://www.geeksforgeeks.org/mos-algorithm-query-square-root-decomposition-set-1-introduction/ SQUARE ROOT DECOMPOSTION (enough said :p)
2 Searching & Sorting https://www.geeksforgeeks.org/majority-element/ Pep_JavaIP_2SnS_48MajorityElement
2 Searching & Sorting https://www.geeksforgeeks.org/searching-array-adjacent-differ-k/ Pep_JavaIP_2SnS_49SearchingInAnArray
2 Searching & Sorting https://www.geeksforgeeks.org/find-a-repeating-and-a-missing-number/ Pep_JavaIP_2SnS_50FindRepeatingAndMissing
2 Searching & Sorting https://www.geeksforgeeks.org/ceiling-in-a-sorted-array/ Pep_JavaIP_2SnS_51Ceiling
2 Searching & Sorting https://www.geeksforgeeks.org/find-a-pair-with-the-given-difference/ variation of simple problem
2 Searching & Sorting https://www.geeksforgeeks.org/find-four-elements-that-sum-to-a-given-value-set-2/ Pep_JavaIP_2SnS_53QuadrupletSum
2 Searching & Sorting https://www.geeksforgeeks.org/median-of-two-sorted-arrays-of-different-sizes/ Pep_JavaIP_2SnS_54MedianOfTwoSortedArrays breaker
2 Searching & Sorting https://www.geeksforgeeks.org/maximum-sum-such-that-no-two-elements-are-adjacent/ inclusion- exclusion
2 Searching & Sorting https://www.geeksforgeeks.org/find-common-elements-three-sorted-arrays/ variation of intersection of arrays
2 Searching & Sorting https://www.geeksforgeeks.org/count-triplets-with-sum-smaller-that-a-given-value/
2 Searching & Sorting https://www.geeksforgeeks.org/merge-two-sorted-arrays-o1-extra-space/ not so easy to understand breaker
2 Searching & Sorting https://www.geeksforgeeks.org/3-way-quicksort-dutch-national-flag/ Pep_JavaIP_2SnS_593WayPartition
2 Searching & Sorting https://www.geeksforgeeks.org/counting-sort/ Pep_JavaIP_2SnS_60CountingSort
2 Searching & Sorting https://www.geeksforgeeks.org/radix-sort/ Pep_JavaIP_2SnS_61RadixSort
2 Searching & Sorting https://www.geeksforgeeks.org/how-to-efficiently-sort-a-big-list-dates-in-20s/ Pep_JavaIP_2SnS_62SortDates
2 Searching & Sorting https://www.geeksforgeeks.org/median-of-stream-of-integers-running-integers/ Pep_JavaIP_2SnS_63MedianofStreamofIntegers
2 Searching & Sorting https://www.geeksforgeeks.org/make-array-elements-equal-minimum-cost/ Pep_JavaIP_2SnS_64MinimumCostToMakeArrayElements
2 Searching & Sorting https://www.geeksforgeeks.org/check-reversing-sub-array-make-array-sorted/ Pep_JavaIP_2SnS_65ReverseSorted
2 Searching & Sorting https://www.geeksforgeeks.org/print-all-subarrays-with-0-sum/ Pep_JavaIP_2SnS_66PrintAllSubarraysWith0Sum
2 Searching & Sorting https://www.geeksforgeeks.org/nearly-sorted-algorithm/ heap with array, good logic
2 Searching & Sorting https://www.geeksforgeeks.org/a-product-array-puzzle/ Pep_JavaIP_2SnS_68ProductArrayPuzzle
2 Searching & Sorting https://www.geeksforgeeks.org/find-number-pairs-xy-yx/ Pep_JavaIP_2SnS_69CountPairsXY
2 Searching & Sorting https://www.geeksforgeeks.org/find-duplicates-in-on-time-and-constant-extra-space/ Pep_JavaIP_2SnS_70FindDuplicates https://www.geeksforgeeks.org/duplicates-array-using-o1-extra-space-set-2/
2 Searching & Sorting https://www.geeksforgeeks.org/insert-in-sorted-and-non-overlapping-interval-array/ Pep_JavaIP_2SnS_71InsertionAndMergingIntervals breaker
2 Searching & Sorting https://www.geeksforgeeks.org/sort-array-according-count-set-bits/ Pep_JavaIP_2SnS_72SortOnCountSetBits breaker
2 Searching & Sorting https://www.geeksforgeeks.org/minimum-swaps-to-make-two-array-identical/ Pep_JavaIP_2SnS_73MinimumSwaps
2 Searching & Sorting https://www.geeksforgeeks.org/find-largest-multiple-3-array-digits-set-2-time-o1-space/ Pep_JavaIP_2SnS_74MaximumMultipleOf3 breaker
2 Searching & Sorting https://www.geeksforgeeks.org/permute-two-arrays-sum-every-pair-greater-equal-k/ Pep_JavaIP_2SnS_75PermuteTwoArrays
2 Searching & Sorting https://www.geeksforgeeks.org/find-pair-with-greatest-product-in-array/ Pep_JavaIP_2SnS_76GreatestProductInArray
2 Searching & Sorting https://www.geeksforgeeks.org/minimum-number-swaps-required-sort-array/ Pep_JavaIP_2SnS_77MinimumSwapsToSortArray breaker
3 String https://www.geeksforgeeks.org/print-words-together-set-characters/ Pep_JavaIP_3Strings_78GroupWordsofSameSetTogether
3 String https://www.geeksforgeeks.org/generate-all-binary-strings-from-given-pattern/ Pep_JavaIP_3Strings_79GenerateAllBinaryStrings
3 String https://www.geeksforgeeks.org/smallest-window-contains-characters-string/ Pep_JavaIP_3Strings_80SmallestWindow
3 String https://www.geeksforgeeks.org/count-ways-increase-lcs-length-two-strings-one/ Pep_JavaIP_3Strings_81IncreaseLCSby1
3 String https://www.geeksforgeeks.org/given-a-sequence-of-words-print-all-anagrams-together/ Pep_JavaIP_3Strings_82PrintAllAnagramsTogether
3 String https://www.geeksforgeeks.org/anagram-substring-search-search-permutations/
3 String https://www.geeksforgeeks.org/check-two-strings-k-anagrams-not/
3 String https://www.geeksforgeeks.org/check-binary-representations-two-numbers-anagram/
3 String https://www.geeksforgeeks.org/longest-palindromic-substring-set-2/
3 String https://www.geeksforgeeks.org/find-the-smallest-window-in-a-string-containing-all-characters-of-another-string/
3 String https://www.codechef.com/FEB18/problems/PERMPAL hash
3 String https://www.geeksforgeeks.org/make-largest-palindrome-changing-k-digits/ Pep_JavaIP_3Strings_89LargestPalindromeBySwappingKDigits
3 String https://www.geeksforgeeks.org/lexicographically-first-palindromic-string/ Pep_JavaIP_3Strings_90LexicographicFirstPalindrome
3 String https://www.geeksforgeeks.org/longest-non-palindromic-substring/ Pep_JavaIP_3Strings_91LongestNonPalindromicSubString
3 String https://www.codechef.com/JAN18/problems/STRMRG Pep_JavaIP_3Strings_92STRMRG breaker
3 String https://www.geeksforgeeks.org/find-kth-character-of-decrypted-string/ Pep_JavaIP_3Strings_93EncodedString
3 String https://www.geeksforgeeks.org/count-words-whose-th-letter-either-1-th-th-i1-th-letter-given-word/ Pep_JavaIP_3Strings_94CountWordsWithSpecialArrangement
3 String https://www.geeksforgeeks.org/find-number-distinct-palindromic-sub-strings-given-string/ Pep_JavaIP_3Strings_95DistinctPalindromicSubStrings
3 String https://www.geeksforgeeks.org/print-all-distinct-characters-of-a-string-in-order-3-methods/ Pep_JavaIP_3Strings_96PrintDistinctCharacters
3 String https://www.geeksforgeeks.org/count-total-anagram-substrings/ Pep_JavaIP_3Strings_97CountOfAllAnagramsSubStringPairs
3 String https://www.geeksforgeeks.org/min-flips-of-continuous-characters-to-make-all-characters-same-in-a-string/
3 String https://www.geeksforgeeks.org/count-binary-strings-k-times-appearing-adjacent-two-set-bits/ Pep_JavaIP_3Strings_99CountBinaryStringsWithKAdjacentOnes
3 String https://www.geeksforgeeks.org/binary-representation-next-greater-number-number-1s-0s/ Pep_JavaIP_3Strings_100BinaryRepresentationNextGreaterNumber
breaker
3 String https://www.geeksforgeeks.org/print-longest-common-sub-sequences-lexicographical-order/ Pep_JavaIP_3Strings_101PrintAllLongestCommonSubSequencesinLexicoOrder
3 String https://www.geeksforgeeks.org/print-shortest-common-supersequence/ Pep_JavaIP_3Strings_102PrintShortestCommonSuperSequence
3 String https://www.geeksforgeeks.org/given-two-strings-find-first-string-subsequence-second/ Pep_JavaIP_3Strings_103FirstStringSubsequenceofOther
3 String https://www.geeksforgeeks.org/find-largest-word-dictionary-deleting-characters-given-string/ Pep_JavaIP_3Strings_104LargestWordinDictionary
3 String https://www.geeksforgeeks.org/search-a-word-in-a-2d-grid-of-characters/ Pep_JavaIP_3Strings_105SearchAWordInGrid
3 String https://www.geeksforgeeks.org/number-subsequences-form-ai-bj-ck/ breaker
3 String https://www.geeksforgeeks.org/number-subsequences-string-divisible-n/ Pep_JavaIP_3Strings_107CountSubsequencesDivisibleByN
3 String https://www.geeksforgeeks.org/find-number-times-string-occurs-given-string/ Pep_JavaIP_3Strings_108NumbersofTimesStringOccursInString
3 String https://www.geeksforgeeks.org/count-distinct-subsequences/
3 String https://www.geeksforgeeks.org/find-patterns-101-given-string/ Pep_JavaIP_3Strings_110FindPattern
3 String https://www.geeksforgeeks.org/given-a-string-find-its-first-non-repeating-character/ Pep_JavaIP_3Strings_111FindFirstNonRepeatingCharacterInOneTraversal
3 String https://www.geeksforgeeks.org/rearrange-a-string-so-that-all-same-characters-become-at-least-d-distance-away/ Pep_JavaIP_3Strings_112RearrangeCharacters
3 String https://www.geeksforgeeks.org/recursively-remove-adjacent-duplicates-given-string/ Pep_JavaIP_3Strings_113RemoveDuplicates
3 String https://www.geeksforgeeks.org/wildcard-character-matching/
3 String https://www.geeksforgeeks.org/lexicographic-rank-of-a-string/ Pep_JavaIP_3Strings_115LexicoRank
3 String https://www.geeksforgeeks.org/print-number-ascending-order-contains-1-2-3-digits/ Pep_JavaIP_3Strings_116SortNumbersContaining123Only
3 String https://www.geeksforgeeks.org/given-sorted-dictionary-find-precedence-characters/
3 String https://www.geeksforgeeks.org/find-excel-column-name-given-number/ Pep_JavaIP_3Strings_118FindCorrespondingExcelColumnName
3 String https://www.geeksforgeeks.org/find-the-longest-substring-with-k-unique-characters-in-a-given-string/ Pep_JavaIP_3Strings_119LongestSubstringsContainingKUniqueElements
3 String https://www.geeksforgeeks.org/function-to-find-number-of-customers-who-could-not-get-a-computer/ Pep_JavaIP_3Strings_120ComputerCafeCustomers
3 String https://www.geeksforgeeks.org/check-given-sentence-given-set-simple-grammer-rules/ Pep_JavaIP_3Strings_121ValidityOfSentences
3 String https://www.geeksforgeeks.org/length-of-the-longest-valid-substring/
3 String https://www.geeksforgeeks.org/print-ways-break-string-bracket-form/ Pep_JavaIP_3Strings_123PrintStringInBracketForm
3 String https://www.geeksforgeeks.org/print-concatenation-of-zig-zag-string-form-in-n-rows/ Pep_JavaIP_3Strings_124PrintZigZagFashion
3 String https://www.geeksforgeeks.org/searching-for-patterns-set-2-kmp-algorithm/
3 String https://www.geeksforgeeks.org/transform-one-string-to-another-using-minimum-number-of-given-operation/ Pep_JavaIP_3Strings_126TransformOneStringToAnother
3 String https://www.geeksforgeeks.org/repeated-subsequence-length-2/ Pep_JavaIP_3Strings_127RepeatedSubsequenceOfLength2OrMore
3 String https://www.geeksforgeeks.org/check-if-two-given-strings-are-isomorphic-to-each-other/
3 String https://www.geeksforgeeks.org/find-given-string-can-represented-substring-iterating-substring-n-times/
3 String https://www.geeksforgeeks.org/recursively-print-all-sentences-that-can-be-formed-from-list-of-word-lists/ Pep_JavaIP_3Strings_130PrintAllSentencesPossible
3 String https://www.geeksforgeeks.org/searching-for-patterns-set-3-rabin-karp-algorithm/ Pep_JavaIP_3Strings_131RabinKarpAlgo
4 Matrix https://www.geeksforgeeks.org/zigzag-or-diagonal-traversal-of-matrix/ Pep_JavaIP_4Matrix_132ZigZagTraversal
4 Matrix https://www.geeksforgeeks.org/create-a-matrix-with-alternating-rectangles-of-0-and-x/ Pep_JavaIP_4Matrix_133AlternateXOMatrix
4 Matrix https://www.geeksforgeeks.org/print-elements-sorted-order-row-column-wise-sorted-matrix/ Pep_JavaIP_4Matrix_134SortedRowColumnWiseSortedMatrix
4 Matrix https://www.geeksforgeeks.org/inplace-rotate-square-matrix-by-90-degrees/ famous breaker
4 Matrix https://www.geeksforgeeks.org/find-number-of-islands/ Pep_JavaIP_4Matrix_136NumberofIslands
4 Matrix https://www.geeksforgeeks.org/given-matrix-o-x-replace-o-x-surrounded-x/ Pep_JavaIP_4Matrix_137ReplaceOwithX
4 Matrix https://www.geeksforgeeks.org/validity-of-a-given-tic-tac-toe-board-configuration/+ Pep_JavaIP_4Matrix_138ValidityTicTacToe
4 Matrix https://www.geeksforgeeks.org/given-matrix-o-x-find-largest-subsquare-surrounded-x/ Pep_JavaIP_4Matrix_139FindLargestSubSquare
4 Matrix https://www.geeksforgeeks.org/rotate-matrix-elements/ Pep_JavaIP_4Matrix_140RotateMatrixElements
4 Matrix https://www.geeksforgeeks.org/find-common-element-rows-row-wise-sorted-matrix/ Pep_JavaIP_4Matrix_141FindCommonElements
4 Matrix https://www.geeksforgeeks.org/maximum-size-rectangle-binary-sub-matrix-1s/ Pep_JavaIP_4Matrix_142LargestSizeRectangularMatrixStudentFile
4 Matrix https://www.geeksforgeeks.org/common-elements-in-all-rows-of-a-given-matrix/ Pep_JavaIP_4Matrix_143FindAllCommonEleementsInAllRows
4 Matrix https://www.geeksforgeeks.org/find-a-specific-pair-in-matrix/ Pep_JavaIP_4Matrix_144FindSpecificPair breaker
4 Matrix https://www.geeksforgeeks.org/find-orientation-of-a-pattern-in-a-matrix/ Pep_JavaIP_4Matrix_145FindOrientation breaker
4 Matrix https://www.geeksforgeeks.org/shortest-path-in-a-binary-maze/ Pep_JavaIP_4Matrix_146ShortestPathInMatrix
4 Matrix https://www.geeksforgeeks.org/inplace-rotate-square-matrix-by-90-degrees/ very famous
4 Matrix https://www.geeksforgeeks.org/kth-smallest-element-in-a-row-wise-and-column-wise-sorted-2d-array-set-1/ Pep_JavaIP_4Matrix_148KthSmallest
4 Matrix https://www.geeksforgeeks.org/a-boolean-matrix-question/ Pep_JavaIP_4Matrix_149BooleanMatrixQuestion
4 Matrix https://www.geeksforgeeks.org/search-a-word-in-a-2d-grid-of-characters/ very interesting ques + microsoft
5 BackTracking https://www.geeksforgeeks.org/backtracking-set-1-the-knights-tour-problem/ Pep_JavaIP_5Backtracking_154KnightsTour
5 BackTracking https://www.geeksforgeeks.org/backttracking-set-2-rat-in-a-maze/ Pep_JavaIP_5Backtracking_155RatInAMaze
5 BackTracking https://www.geeksforgeeks.org/backtracking-set-7-suduku/ Pep_JavaIP_5Backtracking_156Sudoku
5 BackTracking https://www.geeksforgeeks.org/remove-invalid-parentheses/ Pep_JavaIP_5Backtracking_157RemoveParenthesis
5 BackTracking https://www.geeksforgeeks.org/word-break-problem-using-backtracking/ Pep_JavaIP_5Backtracking_158WordBreakProblem
5 BackTracking https://www.geeksforgeeks.org/print-palindromic-partitions-string/ Pep_JavaIP_5Backtracking_159PrintAllPalindromicPartitions
5 BackTracking https://www.geeksforgeeks.org/find-shortest-safe-route-in-a-path-with-landmines/ Pep_JavaIP_5Backtracking_160ShortestSafePathLandMines
5 BackTracking https://www.geeksforgeeks.org/combinational-sum/ Pep_JavaIP_5Backtracking_161CombinationalSum
5 BackTracking https://www.geeksforgeeks.org/partition-set-k-subsets-equal-sum/ Pep_JavaIP_5Backtracking_162PartitionKSubsetsEqualSum
5 BackTracking https://www.geeksforgeeks.org/longest-possible-route-in-a-matrix-with-hurdles/ Pep_JavaIP_5Backtracking_163LongestRouteInMatrix
5 BackTracking https://www.geeksforgeeks.org/backtracking-set-8-solving-cryptarithmetic-puzzles/ Pep_JavaIP_5Backtracking_164CryptoArithmetic breaker
5 BackTracking https://www.geeksforgeeks.org/match-a-pattern-and-string-without-using-regular-expressions/ Pep_JavaIP_5Backtracking_165MatchPatternAndString
5 BackTracking https://www.geeksforgeeks.org/find-if-there-is-a-path-of-more-than-k-length-from-a-source/ Pep_JavaIP_5Backtracking_166HasPathLongerThanK
5 BackTracking https://www.geeksforgeeks.org/backtracking-set-7-hamiltonian-cycle/ Pep_JavaIP_5Backtracking_167HamiltonianCycle
5 BackTracking https://www.geeksforgeeks.org/tug-of-war/ Pep_JavaIP_5Backtracking_168TugOfWar
5 BackTracking https://www.geeksforgeeks.org/find-maximum-number-possible-by-doing-at-most-k-swaps/ Pep_JavaIP_5Backtracking_169LargestNumberwithKswaps
5 BackTracking https://www.geeksforgeeks.org/find-paths-from-corner-cell-to-middle-cell-in-maze/ Pep_JavaIP_5Backtracking_170FindPathsFromCornertoMiddleCell
5 BackTracking https://www.hackerrank.com/challenges/arithmetic-expressions/problem Pep_JavaIP_5Backtracking_171ArithmeticExpression
5 BackTracking https://www.hackerrank.com/challenges/crossword-puzzle/problem Pep_JavaIP_5Backtracking_172Crossword breaker
6 Greedy https://www.geeksforgeeks.org/greedy-algorithms-set-1-activity-selection-problem/ Pep_JavaIP_6Greedy_173ActivitySelectionProblem
6 Greedy https://www.geeksforgeeks.org/job-sequencing-problem-set-1-greedy-algorithm/ Pep_JavaIP_6Greedy_171JobSequencingProblem
6 Greedy https://www.geeksforgeeks.org/greedy-algorithm-egyptian-fraction/ Pep_JavaIP_6Greedy_172EgyptianFraction
6 Greedy https://www.geeksforgeeks.org/fractional-knapsack-problem/ Pep_JavaIP_6Greedy_173FractionalKnapSack
6 Greedy https://www.geeksforgeeks.org/greedy-algorithm-to-find-minimum-number-of-coins/ Pep_JavaIP_6Greedy_174MinimumNumberofCoins
6 Greedy https://www.geeksforgeeks.org/dynamic-programming-set-20-maximum-length-chain-of-pairs/ Pep_JavaIP_6Greedy_175MaximumLengthChainofPairs
6 Greedy https://www.geeksforgeeks.org/find-minimum-time-to-finish-all-jobs-with-given-constraints/ Pep_JavaIP_6Greedy_176MinimumTimeToFinishAllJobs
6 Greedy https://www.geeksforgeeks.org/job-sequencing-using-disjoint-set-union/ Pep_JavaIP_6Greedy_177JobSequencing
6 Greedy https://www.geeksforgeeks.org/minimum-sum-two-numbers-formed-digits-array-2/ Pep_JavaIP_6Greedy_178MinimumSumof2NumbersFormedFromDigitsOfArray
6 Greedy https://www.geeksforgeeks.org/find-smallest-number-with-given-number-of-digits-and-digit-sum/ Pep_JavaIP_6Greedy_179SmallestNumber
6 Greedy https://www.geeksforgeeks.org/minimum-sum-absolute-difference-pairs-two-arrays/ Pep_JavaIP_6Greedy_180AbsoluteDifferences
6 Greedy https://www.geeksforgeeks.org/maximize-sum-consecutive-differences-circular-array/
6 Greedy https://www.geeksforgeeks.org/paper-cut-minimum-number-squares/
6 Greedy https://www.geeksforgeeks.org/lexicographically-smallest-array-k-consecutive-swaps/
6 Greedy https://www.geeksforgeeks.org/rearrange-characters-string-no-two-adjacent/
6 Greedy https://www.geeksforgeeks.org/find-maximum-height-pyramid-from-the-given-array-of-objects/
6 Greedy https://www.geeksforgeeks.org/minimum-cost-for-acquiring-all-coins-with-k-extra-coins-allowed-with-every-coin/
6 Greedy https://www.geeksforgeeks.org/find-maximum-sum-possible-equal-sum-three-stacks/
6 Greedy https://www.geeksforgeeks.org/maximize-array-sun-after-k-negation-operations/
6 Greedy https://www.geeksforgeeks.org/minimum-cost-cut-board-squares/
6 Greedy https://www.geeksforgeeks.org/minimize-cash-flow-among-given-set-friends-borrowed-money/
6 Greedy https://www.geeksforgeeks.org/minimum-edges-reverse-make-path-source-destination/ greedy + dp
7 Dynamic Programming https://www.geeksforgeeks.org/ugly-numbers/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/super-ugly-number-number-whose-prime-factors-given-set/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/maximum-size-sub-matrix-with-all-1s-in-a-binary-matrix/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-subset-sum-problem/ 25/4/18-to be discussed
7 Dynamic Programming https://www.geeksforgeeks.org/minimum-number-of-jumps-to-reach-end-of-a-given-array/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-15-longest-bitonic-subsequence/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/maximum-sum-bi-tonic-sub-sequence/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/lcs-longest-common-subsequence-three-strings/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/friends-pairing-problem/ 25/4/18
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-building-bridges/ popular problem
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-18-partition-problem/
7 Dynamic Programming https://www.geeksforgeeks.org/count-number-of-ways-to-partition-a-set-into-k-subsets/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-12-longest-palindromic-subsequence/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-11-egg-dropping-puzzle/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-21-box-stacking-problem/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-24-optimal-binary-search-tree/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-28-minimum-insertions-to-form-a-palindrome/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-36-cut-a-rope-to-maximize-product/ rod cutting extension
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-31-optimal-strategy-for-a-game/
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-32-word-break-problem/ imp ques
7 Dynamic Programming https://www.geeksforgeeks.org/mobile-numeric-keypad-problem/ imp ques
7 Dynamic Programming https://www.geeksforgeeks.org/find-number-of-solutions-of-a-linear-equation-of-n-variables/
7 Dynamic Programming https://www.geeksforgeeks.org/count-number-ways-tile-floor-size-n-x-m-using-1-x-m-size-tiles/ very easy problem but seems tough https://www.geeksforgeeks.org/count-number-of-ways-to-fill-a-n-x-4-grid-using-1-x-4-tiles/
7 Dynamic Programming https://www.geeksforgeeks.org/count-number-binary-strings-without-consecutive-1s/
7 Dynamic Programming https://www.geeksforgeeks.org/painters-partition-problem/
7 Dynamic Programming https://www.geeksforgeeks.org/check-whether-a-given-string-is-an-interleaving-of-two-other-given-strings-set-2/
7 Dynamic Programming https://www.geeksforgeeks.org/wildcard-pattern-matching/
7 Dynamic Programming https://www.geeksforgeeks.org/probability-knight-remain-chessboard/ breaker
7 Dynamic Programming https://www.geeksforgeeks.org/two-water-jug-puzzle/ breaker Why to be done with extended euclid
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-18-word-wrap/
7 Dynamic Programming https://www.geeksforgeeks.org/largest-sum-subarray-least-k-numbers/
7 Dynamic Programming https://www.geeksforgeeks.org/find-water-in-a-glass/ pascal triangle application
7 Dynamic Programming https://www.geeksforgeeks.org/remove-minimum-elements-either-side-2min-max/
7 Dynamic Programming https://www.geeksforgeeks.org/number-subsequences-form-ai-bj-ck/ dp + maths
7 Dynamic Programming https://www.geeksforgeeks.org/unbounded-knapsack-repetition-items-allowed/ knapsack modification
7 Dynamic Programming https://www.geeksforgeeks.org/length-of-the-longest-valid-substring/ basic + famous
7 Dynamic Programming https://www.geeksforgeeks.org/dynamic-programming-set-37-boolean-parenthesization-problem/ breaker
7 Dynamic Programming https://www.geeksforgeeks.org/count-possible-decodings-given-digit-sequence/
7 Dynamic Programming https://www.geeksforgeeks.org/perfect-sum-problem-print-subsets-given-sum/ nice problem
7 Dynamic Programming https://www.geeksforgeeks.org/vertex-cover-problem-set-2-dynamic-programming-solution-tree/ dp + trees
7 Dynamic Programming https://www.geeksforgeeks.org/longest-even-length-substring-sum-first-second-half/
7 Dynamic Programming https://www.geeksforgeeks.org/count-possible-ways-to-construct-buildings/
7 Dynamic Programming https://www.geeksforgeeks.org/bitmasking-and-dynamic-programming-set-1-count-ways-to-assign-unique-cap-to-every-person/ bitmask + dp
7 Dynamic Programming https://www.geeksforgeeks.org/longest-repeating-subsequence/
7 Dynamic Programming https://www.geeksforgeeks.org/longest-common-increasing-subsequence-lcs-lis/
7 Dynamic Programming https://www.geeksforgeeks.org/find-if-string-is-k-palindrome-or-not/
7 Dynamic Programming https://www.geeksforgeeks.org/minimum-sum-path-3-d-array/ 3d dp
7 Dynamic Programming https://www.geeksforgeeks.org/count-distinct-subsequences/
7 Dynamic Programming https://www.geeksforgeeks.org/shortest-uncommon-subsequence/
7 Dynamic Programming https://www.geeksforgeeks.org/temple-offerings/
7 Dynamic Programming https://www.geeksforgeeks.org/highway-billboard-problem/
7 Dynamic Programming https://www.geeksforgeeks.org/maximum-sum-alternating-subsequence-sum/
7 Dynamic Programming https://www.geeksforgeeks.org/minimum-maximum-values-expression/
8 Stacks & Queues https://www.geeksforgeeks.org/implement-two-stacks-in-an-array/ Pep_JavaIP_8StacksNQueues_245ImplementTwoStacks
8 Stacks & Queues https://www.geeksforgeeks.org/design-a-stack-with-find-middle-operation/ Pep_JavaIP_8StacksNQueues_246StackWithMiddleOps
8 Stacks & Queues https://www.geeksforgeeks.org/efficiently-implement-k-stacks-single-array/ very very tough but needs good brain exerise breaker
8 Stacks & Queues https://www.geeksforgeeks.org/implement-stack-using-priority-queue-or-heap/ Pep_JavaIP_8StacksNQueues_248StackUSingPriorityQueue
8 Stacks & Queues https://www.geeksforgeeks.org/stack-set-2-infix-to-postfix/ Pep_JavaIP_8StacksNQueues_249InfixToPostfix
8 Stacks & Queues https://www.geeksforgeeks.org/the-celebrity-problem/ Pep_JavaIP_8StacksNQueues_250CelebrityProblem
8 Stacks & Queues https://www.geeksforgeeks.org/iterative-tower-of-hanoi/ Pep_JavaIP_8StacksNQueues_251IterativeTowerOfHanoi
8 Stacks & Queues https://www.geeksforgeeks.org/design-and-implement-special-stack-data-structure/ Pep_JavaIP_8StacksNQueues_252SpecialDS
8 Stacks & Queues https://www.geeksforgeeks.org/find-the-maximum-of-minimums-for-every-window-size-in-a-given-array/ Pep_JavaIP_8StacksNQueues_253MaxOfMinOfAllWindowSizes
8 Stacks & Queues https://www.geeksforgeeks.org/length-of-the-longest-valid-substring/ https://leetcode.com/articles/longest-valid-parentheses/
8 Stacks & Queues https://www.geeksforgeeks.org/find-expression-duplicate-parenthesis-not/ This is foundations class question.
8 Stacks & Queues https://www.geeksforgeeks.org/lru-cache-implementation/ Pep_JavaIP_8StacksNQueues_256LRUImplementation
8 Stacks & Queues https://www.geeksforgeeks.org/efficiently-implement-k-queues-single-array/ very tough but similar to k stacks breaker
8 Stacks & Queues https://www.geeksforgeeks.org/find-a-tour-that-visits-all-stations/ Pep_JavaIP_8StacksNQueues_258CircularPetrolPump
8 Stacks & Queues https://www.geeksforgeeks.org/minimum-time-required-so-that-all-oranges-become-rotten/ Pep_JavaIP_8StacksNQueues_259RottenOranges
8 Stacks & Queues https://www.geeksforgeeks.org/sum-minimum-maximum-elements-subarrays-size-k/ Pep_JavaIP_8StacksNQueues_260SumOfMaxMin
8 Stacks & Queues https://www.geeksforgeeks.org/stack-permutations-check-if-an-array-is-stack-permutation-of-other/ Pep_JavaIP_8StacksNQueues_261StackPermutation
8 Stacks & Queues https://www.geeksforgeeks.org/count-natural-numbers-whose-permutation-greater-number/ Pep_JavaIP_8StacksNQueues_262CountNaturalNumbersWhosePermutationsAreGreater
8 Stacks & Queues https://www.geeksforgeeks.org/sort-a-stack-using-recursion/ Pep_JavaIP_8StacksNQueues_263SortStackUsingRecursion
8 Stacks & Queues https://www.geeksforgeeks.org/stack-set-4-evaluation-postfix-expression/ Pep_JavaIP_8StacksNQueues_264EvaluationPostfixExpression
8 Stacks & Queues https://www.geeksforgeeks.org/queue-based-approach-for-first-non-repeating-character-in-a-stream/ Pep_JavaIP_8StacksNQueues_265FirstNonRepeatingCharacterInAStream
9 LinkedList https://www.geeksforgeeks.org/given-only-a-pointer-to-a-node-to-be-deleted-in-a-singly-linked-list-how-do-you-delete-it/ Pep_JavaIP_9LinkedList_266DeleteNodeWithoutHead
9 LinkedList https://www.geeksforgeeks.org/find-first-non-repeating-character-stream-characters/ important, same ques diff approach in queues
9 LinkedList https://www.geeksforgeeks.org/nth-node-from-the-end-of-a-linked-list/ Pep_JavaIP_9LinkedList_268PrintNthNodeFromEnd
9 LinkedList https://www.geeksforgeeks.org/detect-and-remove-loop-in-a-linked-list/ loop detection
9 LinkedList https://www.geeksforgeeks.org/write-a-function-to-get-the-intersection-point-of-two-linked-lists/ Pep_JavaIP_9LinkedList_270IntersectionOfLinkedLists
9 LinkedList https://www.geeksforgeeks.org/remove-duplicates-from-an-unsorted-linked-list/ Pep_JavaIP_9LinkedList_271RemoveDuplicates
9 LinkedList https://www.geeksforgeeks.org/merge-sort-for-linked-list/ Pep_JavaIP_9LinkedList_272MergeSort
9 LinkedList https://www.geeksforgeeks.org/delete-nodes-which-have-a-greater-value-on-right-side/ Pep_JavaIP_9LinkedList_273DeleteNodesGreaterOnRight
9 LinkedList https://www.geeksforgeeks.org/segregate-even-and-odd-elements-in-a-linked-list/ Pep_JavaIP_9LinkedList_274SegregateEvenOddNumbers
9 LinkedList https://www.geeksforgeeks.org/sum-of-two-linked-lists/ Pep_JavaIP_9LinkedList_275SumOfLinkedLists
9 LinkedList https://www.geeksforgeeks.org/find-a-triplet-from-three-linked-lists-with-sum-equal-to-a-given-number/ Pep_JavaIP_9LinkedList_276TripletFromThreeLinkedListsWithSumEqualToGivenNumber
9 LinkedList https://www.geeksforgeeks.org/flattening-a-linked-list/ Pep_JavaIP_9LinkedList_277FlattenALinkedList
9 LinkedList https://www.geeksforgeeks.org/sort-a-linked-list-of-0s-1s-or-2s/ Pep_JavaIP_9LinkedList_278Sort0s1s2s
9 LinkedList https://www.geeksforgeeks.org/flatten-a-linked-list-with-next-and-child-pointers/ Pep_JavaIP_9LinkedList_279FlattenMultiLevelLinkedList
9 LinkedList https://www.geeksforgeeks.org/quicksort-on-singly-linked-list/ breaker
9 LinkedList https://www.geeksforgeeks.org/a-linked-list-with-next-and-arbit-pointer/ Pep_JavaIP_9LinkedList_281CloneLinkedList
9 LinkedList https://www.geeksforgeeks.org/point-to-next-higher-value-node-in-a-linked-list-with-an-arbitrary-pointer/ Pep_JavaIP_9LinkedList_282PointToNextHigherValue
9 LinkedList https://www.geeksforgeeks.org/rearrange-a-given-linked-list-in-place/ Pep_JavaIP_9LinkedList_283RearrangeLinkedListInPlace
9 LinkedList https://www.geeksforgeeks.org/select-a-random-node-from-a-singly-linked-list/
9 LinkedList https://www.geeksforgeeks.org/linked-list-in-zig-zag-fashion/ Pep_JavaIP_9LinkedList_285ZigZagFashion
9 LinkedList https://www.geeksforgeeks.org/sort-linked-list-already-sorted-absolute-values/ Pep_JavaIP_9LinkedList_286SortLinkedList
9 LinkedList https://www.geeksforgeeks.org/merge-k-sorted-linked-lists/ Pep_JavaIP_9LinkedList_287MergeKSortedLists
9 LinkedList https://www.geeksforgeeks.org/flatten-a-multi-level-linked-list-set-2-depth-wise/ Pep_JavaIP_9LinkedList_288FlattenMultiLevelLinkedListDepthWise
9 LinkedList https://www.geeksforgeeks.org/subtract-two-numbers-represented-as-linked-lists/ Pep_JavaIP_9LinkedList_289Subtract2LinkedLists
9 LinkedList https://www.geeksforgeeks.org/find-pair-given-sum-sorted-singly-linked-without-extra-space/ Pep_JavaIP_9LinkedList_290TargetPairSum
9 LinkedList https://www.geeksforgeeks.org/multiply-two-numbers-represented-linked-lists/ Pep_JavaIP_9LinkedList_291Multiply
9 LinkedList https://www.geeksforgeeks.org/merge-two-sorted-lists-place/
9 LinkedList https://www.geeksforgeeks.org/rotate-linked-list-block-wise/
9 LinkedList https://www.geeksforgeeks.org/josephus-circle-using-circular-linked-list/ Pep_JavaIP_9LinkedList_294JosephusCircle
9 LinkedList https://www.geeksforgeeks.org/count-triplets-sorted-doubly-linked-list-whose-sum-equal-given-value-x/ Pep_JavaIP_9LinkedList_295TripletsinDoublyLinkedList
9 LinkedList https://www.geeksforgeeks.org/sort-biotonic-doubly-linked-list/ Pep_JavaIP_9LinkedList_296SortBiotonicDoublyLinkedList
9 LinkedList https://www.geeksforgeeks.org/sort-k-sorted-doubly-linked-list/
10 Generic Trees https://www.geeksforgeeks.org/check-mirror-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/serialize-deserialize-n-ary-tree/ VERY VERY VERY IMPORTANT
10 Generic Trees https://www.geeksforgeeks.org/immediate-smaller-element-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/immediate-smaller-element-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/immediate-smaller-element-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/second-largest-element-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/node-maximum-sum-immediate-children-n-ary-tree/
10 Generic Trees https://www.geeksforgeeks.org/given-n-ary-tree-count-number-nodes-number-children-parent/
10 Generic Trees https://www.geeksforgeeks.org/construct-full-k-ary-tree-preorder-traversal/
10 Generic Trees https://www.geeksforgeeks.org/creating-tree-left-child-right-sibling-representation/ breaker
10 Generic Trees https://www.geeksforgeeks.org/left-child-right-sibling-representation-tree/
10 Generic Trees https://www.geeksforgeeks.org/longest-path-undirected-tree/
10 Generic Trees https://www.careercup.com/question?id=10508082
10 Generic Trees https://www.geeksforgeeks.org/diameter-n-ary-tree/ class ques but imp
10 Binary Trees https://www.geeksforgeeks.org/clone-binary-tree-random-pointers/ very nice problem breaker
10 Binary Trees https://www.geeksforgeeks.org/count-subtress-sum-given-value-x/
10 Binary Trees https://www.geeksforgeeks.org/inorder-tree-traversal-without-recursion/
10 Binary Trees https://www.geeksforgeeks.org/inorder-tree-traversal-without-recursion-and-without-stack/ morris traversal breaker
10 Binary Trees https://www.geeksforgeeks.org/morris-traversal-for-preorder/ breaker https://www.geeksforgeeks.org/iterative-preorder-traversal/
10 Binary Trees https://www.geeksforgeeks.org/iterative-postorder-traversal/
10 Binary Trees https://www.geeksforgeeks.org/diagonal-traversal-of-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/print-binary-tree-vertical-order/
10 Binary Trees https://www.geeksforgeeks.org/boundary-traversal-of-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/perfect-binary-tree-specific-level-order-traversal/
10 Binary Trees https://www.geeksforgeeks.org/construct-a-special-tree-from-given-preorder-traversal/
10 Binary Trees https://www.geeksforgeeks.org/construct-tree-from-ancestor-matrix/
10 Binary Trees https://www.geeksforgeeks.org/construct-ancestor-matrix-from-a-given-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/construct-a-binary-tree-from-parent-array-representation/ famous
10 Binary Trees https://www.geeksforgeeks.org/create-doubly-linked-list-ternary-ree/
10 Binary Trees https://www.geeksforgeeks.org/in-place-convert-a-given-binary-tree-to-doubly-linked-list/
10 Binary Trees https://www.geeksforgeeks.org/convert-a-given-tree-to-sum-tree/
10 Binary Trees https://www.geeksforgeeks.org/change-a-binary-tree-so-that-every-node-stores-sum-of-all-nodes-in-left-subtree/
10 Binary Trees https://www.geeksforgeeks.org/convert-a-binary-tree-to-a-circular-doubly-link-list/
10 Binary Trees https://www.geeksforgeeks.org/convert-tree-forest-even-nodes/
10 Binary Trees https://www.geeksforgeeks.org/lowest-common-ancestor-binary-tree-set-1/ very very important
10 Binary Trees https://www.geeksforgeeks.org/find-distance-between-two-nodes-of-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/print-common-nodes-path-root-common-ancestors/
10 Binary Trees https://www.geeksforgeeks.org/root-to-leaf-path-sum-equal-to-a-given-number/
10 Binary Trees https://www.geeksforgeeks.org/populate-inorder-successor-for-all-nodes/
10 Binary Trees https://www.geeksforgeeks.org/connect-nodes-at-same-level-with-o1-extra-space/
10 Binary Trees https://www.geeksforgeeks.org/connect-nodes-at-same-level/ https://www.geeksforgeeks.org/connect-nodes-level-level-order-traversal/
10 Binary Trees https://www.geeksforgeeks.org/foldable-binary-trees/
10 Binary Trees https://www.geeksforgeeks.org/maximum-width-of-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/double-tree/
10 Binary Trees https://www.geeksforgeeks.org/find-the-maximum-sum-path-in-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/vertical-sum-in-a-given-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/find-next-right-node-of-a-given-key/
10 Binary Trees https://www.geeksforgeeks.org/deepest-left-leaf-node-in-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/connect-leaves-doubly-linked-list/
10 Binary Trees https://www.geeksforgeeks.org/print-left-view-binary-tree/ Pep_JavaIP_10BinaryTrees_347LeftView
10 Binary Trees https://www.geeksforgeeks.org/custom-tree-problem/
10 Binary Trees https://www.geeksforgeeks.org/reverse-alternate-levels-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/print-nodes-distance-k-given-node-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/find-distance-between-two-nodes-of-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/diagonal-sum-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/tilt-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/find-height-binary-tree-represented-parent-array/
10 Binary Trees https://www.geeksforgeeks.org/remove-nodes-root-leaf-paths-length-k/
10 Binary Trees https://www.geeksforgeeks.org/find-maximum-path-sum-in-a-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/expression-tree/
10 Binary Trees https://www.geeksforgeeks.org/width-binary-tree-set-1/
10 Binary Trees https://www.geeksforgeeks.org/reverse-tree-path/
10 Binary Trees https://www.geeksforgeeks.org/dynamic-programming-trees-set-2/
10 Binary Trees https://www.geeksforgeeks.org/serialize-deserialize-binary-tree/ important
10 Binary Trees https://www.geeksforgeeks.org/find-maximum-path-sum-two-leaves-binary-tree/
10 Binary Trees https://www.geeksforgeeks.org/find-height-of-a-special-binary-tree-whose-leaf-nodes-are-connected/ amazon famous question
11 Binary Search Trees https://www.geeksforgeeks.org/construct-bst-from-given-preorder-traversa/
11 Binary Search Trees https://www.geeksforgeeks.org/binary-tree-to-binary-search-tree-conversion/
11 Binary Search Trees https://www.geeksforgeeks.org/in-place-convert-bst-into-a-min-heap/
11 Binary Search Trees https://www.geeksforgeeks.org/construct-bst-given-level-order-traversal/ breaker
11 Binary Search Trees https://www.geeksforgeeks.org/check-for-identical-bsts-without-building-the-trees/
11 Binary Search Trees https://www.geeksforgeeks.org/kth-largest-element-in-bst-when-modification-to-bst-is-not-allowed/
11 Binary Search Trees https://www.geeksforgeeks.org/kth-smallest-element-in-bst-using-o1-extra-space/
11 Binary Search Trees https://www.geeksforgeeks.org/check-whether-bst-contains-dead-end-not/
11 Binary Search Trees https://www.geeksforgeeks.org/merge-two-balanced-binary-search-trees/ https://www.geeksforgeeks.org/merge-two-bsts-with-limited-extra-space/
11 Binary Search Trees https://www.geeksforgeeks.org/fix-two-swapped-nodes-of-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/find-if-there-is-a-triplet-in-bst-that-adds-to-0/
11 Binary Search Trees https://www.geeksforgeeks.org/find-a-pair-with-given-sum-in-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/remove-bst-keys-outside-the-given-range/
11 Binary Search Trees https://www.geeksforgeeks.org/add-greater-values-every-node-given-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/inorder-predecessor-successor-given-key-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/given-n-appointments-find-conflicting-appointments/
11 Binary Search Trees https://www.geeksforgeeks.org/data-structure-for-future-reservations-for-a-single-resource/
11 Binary Search Trees https://www.geeksforgeeks.org/count-bst-subtrees-that-lie-in-given-range/
11 Binary Search Trees https://www.geeksforgeeks.org/replace-every-element-with-the-least-greater-element-on-its-right/
11 Binary Search Trees https://www.geeksforgeeks.org/find-closest-element-binary-search-tree/
11 Binary Search Trees https://www.geeksforgeeks.org/sum-k-smallest-elements-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/maximum-element-two-nodes-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/binary-search-tree-insert-parent-pointer/
11 Binary Search Trees https://www.geeksforgeeks.org/largest-bst-binary-tree-set-2/ important https://www.geeksforgeeks.org/find-the-largest-subtree-in-a-tree-that-is-also-a-bst/
11 Binary Search Trees https://www.geeksforgeeks.org/leaf-nodes-preorder-binary-search-tree/
11 Binary Search Trees https://www.geeksforgeeks.org/find-median-bst-time-o1-space/ morris traversal application
11 Binary Search Trees https://www.geeksforgeeks.org/avl-tree-set-1-insertion/
11 Binary Search Trees https://www.geeksforgeeks.org/avl-tree-set-2-deletion/
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/k-largestor-smallest-elements-in-an-array/ Pep_JavaIP_12OrderStatsHeapHash_392KthLargest
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/next-greater-element/ Pep_JavaIP_12OrderStatsHeapHash_393NextGreaterElement
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/kth-smallestlargest-element-unsorted-array/ Pep_JavaIP_12OrderStatsHeapHash_394KLargeNumbers
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/sliding-window-maximum-maximum-of-all-subarrays-of-size-k/ Pep_JavaIP_12OrderStatsHeapHash_395SlidingWindowMaximum
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-the-smallest-positive-number-missing-from-an-unsorted-array/ Pep_JavaIP_12OrderStatsHeapHash_396SmallestPositiveNumber
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-the-maximum-repeating-number-in-ok-time/ Pep_JavaIP_12OrderStatsHeapHash_397MaximumRepeatingNumber
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/online-algorithm-for-checking-palindrome-in-a-stream/ Pep_JavaIP_12OrderStatsHeapHash_398OnlineAlgoPalindrome
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/kth-largest-element-in-a-stream/ Pep_JavaIP_12OrderStatsHeapHash_399KthLargestInStream
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/k-th-smallest-element-removing-integers-natural-numbers/ Pep_JavaIP_12OrderStatsHeapHash_400KthSmallestElement
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-surpasser-count-of-each-element-in-array/ Pep_JavaIP_12OrderStatsHeapHash_401SurpasserCountOfEachElement
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/a-pancake-sorting-question/ Pep_JavaIP_12OrderStatsHeapHash_402PancakeSorting
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/k-numbers-difference-maximum-minimum-k-number-minimized/ Pep_JavaIP_12OrderStatsHeapHash_403KMaxMin
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-k-closest-elements-given-value/ Pep_JavaIP_12OrderStatsHeapHash_404KClosestElements
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/tournament-tree-and-binary-heap/ Pep_JavaIP_12OrderStatsHeapHash_405TournamentTree breaker
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/connect-n-ropes-minimum-cost/ Pep_JavaIP_12OrderStatsHeapHash_406JoinRopes
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/a-data-structure-question/ algorithm designing breaker
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/cuckoo-hashing/ breaker
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-number-of-employees-under-every-manager/ Pep_JavaIP_12OrderStatsHeapHash_409NumberOfEmployees
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-itinerary-from-a-given-list-of-tickets/ Pep_JavaIP_12OrderStatsHeapHash_410ItineraryFromGivenListofTickets
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/check-if-an-array-can-be-divided-into-pairs-whose-sum-is-divisible-by-k/ Pep_JavaIP_12OrderStatsHeapHash_411CheckPairsDivisibleByK
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-the-largest-subarray-with-0-sum/ Pep_JavaIP_12OrderStatsHeapHash_412LargestSubarrayWith0Sum
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/count-distinct-elements-in-every-window-of-size-k/ Pep_JavaIP_12OrderStatsHeapHash_413CountDistinctElemetnsInWindowOfSizeK
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/design-a-data-structure-that-supports-insert-delete-search-and-getrandom-in-constant-time/ Pep_JavaIP_12OrderStatsHeapHash_414MyDS
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/length-largest-subarray-contiguous-elements-set-2/ Pep_JavaIP_12OrderStatsHeapHash_415LongestSubarrayWithContiguousElements
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/group-shifted-string/ Pep_JavaIP_12OrderStatsHeapHash_416GroupShiftedStrings
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/palindrome-substring-queries/ very tough breaker
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-four-elements-a-b-c-and-d-in-an-array-such-that-ab-cd/ Pep_JavaIP_12OrderStatsHeapHash_418FourElements
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/subarrays-distinct-elements/ Pep_JavaIP_12OrderStatsHeapHash_419SubarraysLengthSum
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/find-recurring-sequence-fraction/ different question
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/k-maximum-sum-combinations-two-arrays/ breaker
12A Graphs https://www.hackerrank.com/challenges/torque-and-development/problem dfs, greedy
12A Graphs https://www.hackerrank.com/challenges/journey-to-the-moon/problem dfs, combinatorics
12A Graphs https://www.hackerrank.com/challenges/even-tree/problem dfs, generic tree
12A Graphs https://leetcode.com/problems/course-schedule-ii/description/ new question
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/graph-representation/practice-problems/algorithm/mancunian-and-liverbird-go-bar-hopping-2/ graph implementation
12A Graphs https://leetcode.com/problems/cheapest-flights-within-k-stops/description/ new added
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/dhoom-4/ doesnt look like graph ques, but graph theory used
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/monk-and-the-islands/ easy bfs
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/connected-horses-10/ graph + dp timeout tc
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/we-are-on-fire/ graph + dfs
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/depth-first-search/practice-problems/algorithm/mrinal-and-three-musketeers-128f4c52/ dfs
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/minimum-spanning-tree/practice-problems/algorithm/efficient-network/ mst
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/minimum-spanning-tree/practice-problems/algorithm/mr-president/ mst timeout tc
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/shortest-path-algorithms/practice-problems/algorithm/successful-marathon-0691ec04/ shortest path
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/shortest-path-algorithms/practice-problems/algorithm/minimizing-path-cost/ shortest path
12A Graphs https://www.hackerearth.com/practice/algorithms/graphs/topological-sort/practice-problems/algorithm/oliver-and-the-game-3/ topological sort timeout tc
12A Graphs http://codeforces.com/problemset/problem/917/B MY FAVOURITE GRAPH PROBLEM
12A Graphs https://www.ideserve.co.in/learn/friend-circles-graph famous ques
12A Graphs https://www.geeksforgeeks.org/strongly-connected-components/
12A Graphs https://www.ideserve.co.in/learn/minimum-trials-to-reach-from-source-to-destination-word
12A Graphs https://www.geeksforgeeks.org/find-longest-path-directed-acyclic-graph/ theory more imp
12A Graphs https://www.geeksforgeeks.org/find-a-mother-vertex-in-a-graph/
12A Graphs https://www.geeksforgeeks.org/count-possible-paths-two-vertices/
12A Graphs https://www.geeksforgeeks.org/water-jug-problem-using-bfs/ popular ques
12A Graphs https://www.geeksforgeeks.org/detect-cycle-undirected-graph/ cycle detection
12A Graphs https://www.geeksforgeeks.org/detect-cycle-in-a-graph/
12A Graphs https://www.geeksforgeeks.org/snake-ladder-problem-2/ class ques but very famous
12A Graphs https://www.geeksforgeeks.org/given-sorted-dictionary-find-precedence-characters/
12A Graphs https://www.geeksforgeeks.org/print-all-jumping-numbers-smaller-than-or-equal-to-a-given-value/ breaker
12A Graphs https://www.geeksforgeeks.org/optimal-read-list-given-number-days/ graph theory
12A Graphs https://www.geeksforgeeks.org/count-number-trees-forest/ trees in graphs
12A Graphs https://www.geeksforgeeks.org/construct-binary-palindrome-by-repeated-appending-and-trimming/ graph + string
12A Graphs https://leetcode.com/problems/find-eventual-safe-states/description/
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
14 Misc
15 Bit Manipulation https://www.geeksforgeeks.org/find-two-non-repeating-elements-in-an-array-of-repeating-elements/ Pep_JavaIP_15BitManipulation_468Find2NonRepeatingElementsinArrayofRepeatingElements
15 Bit Manipulation https://www.geeksforgeeks.org/count-set-bits-in-an-integer/ Pep_JavaIP_15BitManipulation_469Countnoofsetbits
15 Bit Manipulation https://www.geeksforgeeks.org/find-the-number-occurring-odd-number-of-times/ Pep_JavaIP_15BitManipulation_470FindOddOccuringElement
15 Bit Manipulation https://www.geeksforgeeks.org/check-if-a-number-is-bleak/ Pep_JavaIP_15BitManipulation_471CheckNumberISBleak
15 Bit Manipulation https://www.geeksforgeeks.org/copy-set-bits-in-a-range/ Pep_JavaIP_15BitManipulation_472CopySetBitsInaRange
15 Bit Manipulation https://www.geeksforgeeks.org/write-an-efficient-method-to-check-if-a-number-is-multiple-of-3/ Pep_JavaIP_15BitManipulation_473Multipleof3
15 Bit Manipulation https://www.geeksforgeeks.org/find-position-of-the-only-set-bit/ Pep_JavaIP_15BitManipulation_474PositionofOnlySetBit
15 Bit Manipulation https://www.geeksforgeeks.org/binary-representation-of-a-given-number/ Pep_JavaIP_15BitManipulation_475PrintBinaryRepresentation
15 Bit Manipulation https://www.geeksforgeeks.org/write-an-efficient-c-program-to-reverse-bits-of-a-number/ Pep_JavaIP_15BitManipulation_476ReverseBits
15 Bit Manipulation https://www.geeksforgeeks.org/count-number-of-bits-to-be-flipped-to-convert-a-to-b/ Pep_JavaIP_15BitManipulation_477FlipBits
15 Bit Manipulation https://www.geeksforgeeks.org/count-total-set-bits-in-all-numbers-from-1-to-n/ Pep_JavaIP_15BitManipulation_478CountAllSetBitsFrom1toN
15 Bit Manipulation https://www.geeksforgeeks.org/swap-two-nibbles-byte/ Pep_JavaIP_15BitManipulation_479SwapNibbles
15 Bit Manipulation https://www.geeksforgeeks.org/find-the-element-that-appears-once/ Pep_JavaIP_15BitManipulation_480AloneinArray
15 Bit Manipulation https://www.geeksforgeeks.org/program-to-find-whether-a-no-is-power-of-two/ Pep_JavaIP_15BitManipulation_481IsAPowerof2
15 Bit Manipulation https://www.geeksforgeeks.org/sum-of-bit-differences-among-all-pairs/ Pep_JavaIP_15BitManipulation_482SumofBitDifferencesAmongPairs
15 Bit Manipulation https://www.geeksforgeeks.org/given-a-number-n-generate-bit-patterns-from-0-to-2n-1-so-that-successive-patterns-differ-by-one-bit/ Pep_JavaIP_15BitManipulation_483GrayCodes
15 Bit Manipulation https://www.geeksforgeeks.org/josephus-problem-set-1-a-on-solution/ Pep_JavaIP_15BitManipulation_484JosephusProblem
15 Bit Manipulation https://www.geeksforgeeks.org/a-boolean-array-puzzle/ Pep_JavaIP_15BitManipulation_485BooleanArrayPuzzle
15 Bit Manipulation https://www.geeksforgeeks.org/swap-all-odd-and-even-bits/ Pep_JavaIP_15BitManipulation_486SwapAllOddEvenBits
15 Bit Manipulation https://www.geeksforgeeks.org/calculate-7n8-without-using-division-and-multiplication-operators/ Pep_JavaIP_15BitManipulation_487Calculate7n8
15 Maths https://www.geeksforgeeks.org/euclidean-algorithms-basic-and-extended/ Water Jug
15 Maths https://www.geeksforgeeks.org/prime-factorization-using-sieve-olog-n-multiple-queries/ Modular exponentitaion HE
15 Maths https://www.geeksforgeeks.org/fermats-last-theorem/ MMI HE
15 Maths https://www.geeksforgeeks.org/matrix-exponentiation/ Miller Rabin Primality HE
15 Maths https://www.geeksforgeeks.org/chinese-remainder-theorem-set-1-introduction/ fermat's primality
15 Maths https://www.geeksforgeeks.org/birthday-paradox/
15 Maths https://www.geeksforgeeks.org/program-nth-catalan-number/ Pep_JavaIP_16Math_494NthCatalanNumber
15 Maths https://www.geeksforgeeks.org/pollards-rho-algorithm-prime-factorization/
16 Maths https://www.geeksforgeeks.org/eulers-totient-function/
16 Maths https://www.geeksforgeeks.org/sieve-eratosthenes-0n-time-complexity/
16 Geometry https://www.geeksforgeeks.org/orientation-3-ordered-points/
16 Geometry https://www.geeksforgeeks.org/check-if-two-given-line-segments-intersect/
16 Geometry https://www.geeksforgeeks.org/convex-hull-set-1-jarviss-algorithm-or-wrapping/ [Note - Collinearity important?]
16 Geometry https://www.geeksforgeeks.org/find-simple-closed-path-for-a-given-set-of-points/
16 Geometry https://www.geeksforgeeks.org/convex-hull-set-2-graham-scan/
16 Geometry https://www.geeksforgeeks.org/quickhull-algorithm-convex-hull/
16 Geometry https://www.geeksforgeeks.org/closest-pair-of-points-onlogn-implementation/ https://www.geeksforgeeks.org/closest-pair-of-points/
16 Geometry https://www.geeksforgeeks.org/divide-and-conquer-set-7-the-skyline-problem/
16 Geometry https://www.geeksforgeeks.org/given-a-set-of-line-segments-find-if-any-two-segments-intersect/
16 Geometry https://www.hackerearth.com/practice/math/geometry/line-sweep-technique/tutorial/
16 Geometry https://www.hackerearth.com/practice/math/geometry/line-intersection-using-bentley-ottmann-algorithm/tutorial/
16 Geometry https://www.codechef.com/FEB18/problems/POINPOLY
17 Trie https://www.geeksforgeeks.org/sorting-array-strings-words-using-trie-set-2-handling-duplicates/
17 Trie https://www.geeksforgeeks.org/word-break-problem-trie-solution/ repeated but trie imlementation
17 Trie https://www.geeksforgeeks.org/given-a-sequence-of-words-print-all-anagrams-together-set-2/ repeated but trie imlementation
17 Trie https://www.geeksforgeeks.org/implement-a-phone-directory/
17 Trie https://www.geeksforgeeks.org/print-words-matching-pattern-camelcase-notation-dictonary/
17 Trie https://www.geeksforgeeks.org/print-unique-rows/
17 Trie https://www.geeksforgeeks.org/count-distinct-substrings-string-using-suffix-trie/
17 HR - Greedy & DP https://www.hackerrank.com/challenges/equal/problem
17 HR - Greedy & DP https://www.hackerrank.com/challenges/sherlock-and-cost/problem
17 HR - Greedy & DP https://www.hackerrank.com/challenges/sam-and-substrings/problem
18 HR - Greedy & DP https://www.hackerrank.com/challenges/candies/problem
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
18 Network Flow
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
19 Range Queries
20 Union Find https://www.geeksforgeeks.org/tag/union-find/
20 Union Find https://www.geeksforgeeks.org/union-find/
20 Union Find
20 Union Find
20 Union Find
20 Union Find
20 Union Find
20 Union Find
2 Searching & Sorting-54 https://www.geeksforgeeks.org/median-of-two-sorted-arrays-of-different-sizes/ Pep_JavaIP_2SnS_54MedianOfTwoSortedArrays
8 Stacks & Queues-247 https://www.geeksforgeeks.org/efficiently-implement-k-stacks-single-array/ very very tough but needs good brain exerise
8 Stacks & Queues-257 https://www.geeksforgeeks.org/efficiently-implement-k-queues-single-array/ very tough but similar to k stacks
9 LinkedList-267 https://www.geeksforgeeks.org/find-first-non-repeating-character-stream-characters/ important, same ques diff approach in queues
9 LinkedList-292 https://www.geeksforgeeks.org/merge-two-sorted-lists-place/
9 LinkedList-293 https://www.geeksforgeeks.org/rotate-linked-list-block-wise/
2 Searching & Sorting https://www.geeksforgeeks.org/merge-two-sorted-arrays-o1-extra-space/ not so easy to understand breaker
1 Array-47 https://www.geeksforgeeks.org/mos-algorithm-query-square-root-decomposition-set-1-introduction/ SQUARE ROOT DECOMPOSTION (enough said :p)
1 Arrays https://careercup.com/question?id=5339357867147264
8 Stacks & Queues https://www.geeksforgeeks.org/find-the-maximum-of-minimums-for-every-window-size-in-a-given-array/ Pep_JavaIP_8StacksNQueues_253MaxOfMinOfAllWindowSizes
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/online-algorithm-for-checking-palindrome-in-a-stream/ Pep_JavaIP_12OrderStatsHeapHash_398OnlineAlgoPalindrome
12 Order Statistics & Heap & Hash https://www.geeksforgeeks.org/tournament-tree-and-binary-heap/ Pep_JavaIP_12OrderStatsHeapHash_405TournamentTree breaker
3 String https://www.geeksforgeeks.org/print-longest-common-sub-sequences-lexicographical-order/ Pep_JavaIP_3Strings_101PrintAllLongestCommonSubSequencesinLexicoOrder
3 String https://www.geeksforgeeks.org/number-subsequences-string-divisible-n/ Pep_JavaIP_3Strings_107CountSubsequencesDivisibleByN
https://www.geeksforgeeks.org/minimum-iterations-pass-information-nodes-tree/
https://www.geeksforgeeks.org/largest-rectangle-under-histogram/
https://leetcode.com/problems/remove-k-digits/description/
https://leetcode.com/problems/minimum-height-trees/description/

You might also like