InterviewStack.io LogoInterviewStack.io

Coding Fundamentals and Problem Solving Questions

Focuses on algorithmic thinking, data structures, and the process of solving coding problems under time constraints. Topics include core data structures such as arrays, linked lists, hash tables, trees, and graphs, common algorithms for searching and sorting, basics of dynamic programming and graph traversal, complexity analysis for time and space, and standard coding patterns. Emphasis on a disciplined problem solving approach: understanding the problem, identifying edge cases, proposing solutions with trade offs, implementing clean and readable code, and testing or reasoning about correctness and performance. Includes debugging strategies, writing maintainable code, and practicing medium difficulty interview style problems.

MediumTechnical
40 practiced
You are delivering a sorting function for a client's API. Describe a test plan that includes unit tests, property-based tests, stress tests, stability checks (stable vs unstable sorts), and performance benchmarks. Explain how you'd set acceptance criteria and integrate tests into CI pipelines.
HardTechnical
35 practiced
Explain the Bellman-Ford algorithm for single-source shortest paths in graphs with negative edge weights and demonstrate how it detects negative cycles. Provide time and space complexity, and discuss trade-offs compared to Dijkstra in production systems.
MediumTechnical
45 practiced
Implement BFS in Python to compute the shortest path in terms of number of edges between two nodes in an unweighted graph represented by adjacency lists. Discuss complexity, memory behavior for large graphs, and strategies to adapt when graphs don't fit in memory (external storage or graph frameworks).
MediumTechnical
38 practiced
Implement in Python a function that given an unsorted list of integers and a target returns indices of the two numbers that add up to the target. Your solution should run in O(n) time using O(n) extra space. Explain trade-offs versus a sort-and-two-pointer O(n log n) approach and how you would test at scale.
MediumTechnical
40 practiced
A CSV parsing library occasionally mis-parses quoted fields containing embedded newlines and escaped quotes. As an architect, list comprehensive unit and integration test cases you would require, state whether to follow RFC4180 or a custom rule-set, and outline measures to validate regressions in production.

Unlock Full Question Bank

Get access to hundreds of Coding Fundamentals and Problem Solving interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.