IMPORTANT TECHNICAL QUESTIONS 2025 - TOPIC WISE
IMPORTANT TECHNICAL QUESTIONS 2025 - TOPIC WISE
DATA STRUCTURES
Hint1: Use a hash table to keep track of the numbers you've seen so far and check if the complement
exists.
or
Hint2: Use a hash map to store the numbers and their indices. For each number in the array, check if the
complement (target - number) exists in the hash map.
Linked Lists
Dynamic Programming
1. Solve the coin change problem where you need to find the minimum number of coins needed to make up
a given amount.
2. Hint: Use a bottom-up dynamic programming approach where you build up a solution using previously
computed results.
3. Implement the longest common subsequence algorithm.
4. Solve the Fibonacci sequence using dynamic programming.
5. Solve the 0/1 knapsack problem.
6. Calculate the minimum cost path in a grid with dynamic programming
7. Write a function to find the longest substring with at most two distinct characters.
8. Use: sliding window problem
9. Implement a function to find the maximum sum of a non-adjacent subsequence in an array.
10. Hint: Use dynamic programming to keep track of the maximum sum including or excluding the current
element.
11. Find the minimum number of platforms required for a train station.
12. Solve the activity selection problem.
13. Find the minimum number of coins required for a given amount.
14. Solve the interval scheduling maximization problem.
Backtracking