Programming foundations

Solve coding interview problems

Arrays, hashing, trees, graphs, DP at the level asked in Indian product-company screens.

~60 focused hours·intermediate

Tools: Python, arrays/hashmaps, trees/graphs, dynamic programming, LeetCode/NeetCode

Market relevance — share of job ads asking for this
Prerequisite capability — not asked for directly, but needed for others.
What employers mean

You should be able to…

  1. Solve an array/hashmap problem in under 20 minutes with correct edge-case handling
  2. Traverse and modify trees and graphs (BFS/DFS, topological sort)
  3. Write a dynamic programming solution and explain the recurrence out loud
  4. Analyze time and space complexity of your own solution correctly
  5. Debug a failing solution against hidden test cases in a live coding round
  6. Explain trade-offs between two approaches (e.g. hashmap vs two-pointer) before coding
  7. Handle a follow-up that changes constraints (e.g. 'now the input doesn't fit in memory')

Needs first: Write production-quality Python for AI work

Learn — free, link-checked

The few resources that matter

Practice

30-Day DSA Interview Log

Solve at least 40 problems across arrays, hashmaps, trees, graphs and DP from the NeetCode roadmap over 2-3 weeks, keeping a public log repo where each problem has your solution, a complexity note, and a short reflection on the pattern used. Redo any problem you couldn't solve in 25 minutes after a week.

Done when
  • At least 40 problems solved and committed, spanning all 5 core patterns (array, hashmap, tree, graph, DP)
  • Each solution file has a comment stating time/space complexity
  • At least 5 problems have a documented second attempt after initially failing/timing out
  • A README summarizing which patterns you're weakest on and your practice plan for them
Prove it

Evidence a recruiter can check

  • Public GitHub repo of solutions with complexity notes on each
  • NeetCode or LeetCode profile link showing solved-problem count and streak
  • A one-page personal 'patterns cheat sheet' you wrote in your own words
Interview

Questions you'll get asked

  1. Given an array of transaction amounts, find two that sum to a target UPI limit.
  2. Detect a cycle in a directed graph of microservice dependencies.
  3. Find the longest increasing subsequence in a list of stock prices.
  4. How would you find the k most frequent search queries from a large log file?
  5. Reverse a linked list iteratively and then recursively.
  6. Given a matrix of city grid distances, find the shortest path (Dijkstra/BFS).
  7. What's the time complexity of your solution, and can you do better?
  8. How would this solution change if the input were too large to fit in memory?