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.

EasyTechnical
34 practiced
Implement an in-place function in Python to reverse a singly linked list and return the new head. Your implementation should use O(1) additional space and O(n) time. Assume Node has attributes val and next. Provide production-ready code with clear variable names and a brief comment about complexity.
HardSystem Design
37 practiced
Design an external merge sort to sort a 1TB dataset on disk with only 1GB of available memory. Describe phases including chunking, in-memory sort, k-way merge, file formats, buffer sizing to optimize disk I/O, parallelization across CPUs and disks, failure handling, and how this component would integrate into a client's ETL pipeline.
EasyTechnical
39 practiced
Compare arrays and singly linked lists in terms of memory layout, random access, insertion and deletion costs, cache behavior, and typical use cases. As a solutions architect advising a high-throughput service, explain which you'd pick and why for different workloads.
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.
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.

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.