├── .gitignore ├── .vscode ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── Arrays ├── 01Sort.cpp ├── FindMissingAndRepeating │ └── UsingEquations.cpp ├── FindSecondMaximum │ └── Optimal.java ├── FindTheDuplicateNumber │ ├── Better.java │ └── Optimal.java ├── MajorityElement │ └── OnlyMajorityElement.java ├── MergeRange │ └── MergeRange.java ├── MergeSort │ └── MergeSort.java ├── SearchIn2DMatrix │ └── Optimal.java └── TrappingRainwater │ ├── Better.java │ └── BruteForce.java ├── Backtracking └── RatInAMaze.java ├── Binary_Search ├── FindNthRoot.java └── MedianOfTwoSortedArrays │ └── Optimal.java ├── FindMissingAndRepeatingNumber └── Good.java ├── Graphs └── Kruskal │ └── Solution.java ├── Greedy ├── FractionalKnapsack │ └── Solution.java ├── JobSequencing │ └── JobSequencingDSU.java └── Solution.java ├── LinkedList ├── FindIntersectionOfTwoLinkedList │ └── Better.java ├── FindMiddleOfLinkedList │ └── Optimal.java ├── FlattenLinkedList │ └── Optimal.java ├── Palindrome │ ├── BruteForce.java │ └── Optimal.java ├── Reverse │ └── Solution.java └── Traverse │ └── Solution.java ├── Recursion └── CombinationSums1 │ ├── Try.java │ └── test.java ├── template.cpp └── test.java /.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | *.class -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Arrays/01Sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/01Sort.cpp -------------------------------------------------------------------------------- /Arrays/FindMissingAndRepeating/UsingEquations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/FindMissingAndRepeating/UsingEquations.cpp -------------------------------------------------------------------------------- /Arrays/FindSecondMaximum/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/FindSecondMaximum/Optimal.java -------------------------------------------------------------------------------- /Arrays/FindTheDuplicateNumber/Better.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/FindTheDuplicateNumber/Better.java -------------------------------------------------------------------------------- /Arrays/FindTheDuplicateNumber/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/FindTheDuplicateNumber/Optimal.java -------------------------------------------------------------------------------- /Arrays/MajorityElement/OnlyMajorityElement.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/MajorityElement/OnlyMajorityElement.java -------------------------------------------------------------------------------- /Arrays/MergeRange/MergeRange.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/MergeRange/MergeRange.java -------------------------------------------------------------------------------- /Arrays/MergeSort/MergeSort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/MergeSort/MergeSort.java -------------------------------------------------------------------------------- /Arrays/SearchIn2DMatrix/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/SearchIn2DMatrix/Optimal.java -------------------------------------------------------------------------------- /Arrays/TrappingRainwater/Better.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/TrappingRainwater/Better.java -------------------------------------------------------------------------------- /Arrays/TrappingRainwater/BruteForce.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Arrays/TrappingRainwater/BruteForce.java -------------------------------------------------------------------------------- /Backtracking/RatInAMaze.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Backtracking/RatInAMaze.java -------------------------------------------------------------------------------- /Binary_Search/FindNthRoot.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Binary_Search/FindNthRoot.java -------------------------------------------------------------------------------- /Binary_Search/MedianOfTwoSortedArrays/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Binary_Search/MedianOfTwoSortedArrays/Optimal.java -------------------------------------------------------------------------------- /FindMissingAndRepeatingNumber/Good.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/FindMissingAndRepeatingNumber/Good.java -------------------------------------------------------------------------------- /Graphs/Kruskal/Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Graphs/Kruskal/Solution.java -------------------------------------------------------------------------------- /Greedy/FractionalKnapsack/Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Greedy/FractionalKnapsack/Solution.java -------------------------------------------------------------------------------- /Greedy/JobSequencing/JobSequencingDSU.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Greedy/JobSequencing/JobSequencingDSU.java -------------------------------------------------------------------------------- /Greedy/Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Greedy/Solution.java -------------------------------------------------------------------------------- /LinkedList/FindIntersectionOfTwoLinkedList/Better.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/FindIntersectionOfTwoLinkedList/Better.java -------------------------------------------------------------------------------- /LinkedList/FindMiddleOfLinkedList/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/FindMiddleOfLinkedList/Optimal.java -------------------------------------------------------------------------------- /LinkedList/FlattenLinkedList/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/FlattenLinkedList/Optimal.java -------------------------------------------------------------------------------- /LinkedList/Palindrome/BruteForce.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/Palindrome/BruteForce.java -------------------------------------------------------------------------------- /LinkedList/Palindrome/Optimal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/Palindrome/Optimal.java -------------------------------------------------------------------------------- /LinkedList/Reverse/Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/Reverse/Solution.java -------------------------------------------------------------------------------- /LinkedList/Traverse/Solution.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/LinkedList/Traverse/Solution.java -------------------------------------------------------------------------------- /Recursion/CombinationSums1/Try.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Recursion/CombinationSums1/Try.java -------------------------------------------------------------------------------- /Recursion/CombinationSums1/test.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/Recursion/CombinationSums1/test.java -------------------------------------------------------------------------------- /template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/template.cpp -------------------------------------------------------------------------------- /test.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Excalibur79/DSA-Interview-Problems/HEAD/test.java --------------------------------------------------------------------------------