Data Structures and Algorithms Interview Questions in Pune
36 practice questions with answers for Data Structures and Algorithms interviews in Pune.
Data Structures and Algorithms jobs in Pune
Pune combines IT-services campuses in Hinjewadi and Kharadi with product, automotive and BFSI technology centres. It has a large mid-level job market for data and QA roles, and interviews are often practical and project-based.
Below are 36 questions that match the mix of service, product and domain employers hiring software engineer (fresher / sde-1)s in Pune.
Find the next greater element for every element of an array.
Show answer
What are the trade-offs between recursion and iteration?
Show answer
What is a dummy or sentinel node and why is it useful in linked list problems?
Show answer
How can you reduce the space used by a DP solution?
Show answer
Tell me about a time you explained a technical idea to a non-technical person.
Show answer
Count the number of islands in a grid of 1s and 0s.
Show answer
Detect whether a linked list has a cycle and return the node where the cycle begins.
Show answer
What is recursion and why is a base case essential?
Show answer
Tell me about a time you received critical feedback on your code.
Show answer
Compute the length of the longest common subsequence of two strings.
Show answer
Implement topological sort using Kahn's algorithm.
Show answer
Find the length of the longest substring without repeating characters.
Show answer
How would you generate friend suggestions as friends of friends in a social network?
Show answer
Tell me about an interview or exam you failed and what you learned.
Show answer
How does Dijkstra's algorithm work and why does it fail with negative edge weights?
Show answer
An array of size 100000 must answer 100000 queries asking for the sum between two indices. What approach would you use?
Show answer
What is Kadane's algorithm?
Show answer
Find the minimum number of coins needed to make an amount.
Show answer
What is the difference between a subarray, a subsequence and a substring?
Show answer
How does binary search work and what does it require?
Show answer
A sorted array has been rotated at an unknown point. How can you still search it in O(log n)?
Show answer
What is tail recursion and do Java and Python optimise it?
Show answer
How can two heaps maintain the running median of a stream?
Show answer
Write a function to validate a binary search tree.
Show answer
Compare AVL trees and red-black trees.
Show answer
What does binary search on the answer mean?
Show answer
Two linked lists merge at some node and share the rest. How do you find the merge point efficiently?
Show answer
What is a bipartite graph and how do you check for one?
Show answer
Tell me about a time you worked with people from other teams to solve a complex problem.
Show answer
How do you recognise a DP problem and define its state?
Show answer
An interviewer asks you to reduce your solution's extra space from O(n) to O(1). How do you approach it?
Show answer
How would you implement browser back and forward navigation?
Show answer
Explain best, average and worst case complexity using quicksort.
Show answer
Solve climbing stairs: how many ways are there to climb n steps taking 1 or 2 steps at a time?
Show answer
You are building undo and redo for a text editor. Which data structures would you use?
Show answer
Companies with offices in Pune (6)
Amazon
Data Structures and Algorithms interview questions
Bengaluru, Hyderabad, Chennai +2
View questionsData Structures and Algorithms interview questions
Bengaluru, Hyderabad, Gurugram +2
View questionsMicrosoft
Data Structures and Algorithms interview questions
Hyderabad, Bengaluru, Noida +2
View questionsOracle
Data Structures and Algorithms interview questions
Bengaluru, Hyderabad, Noida +2
View questionsPhonePe
Data Structures and Algorithms interview questions
Bengaluru, Pune
View questionsTCS
Data Structures and Algorithms interview questions
Mumbai, Chennai, Pune +2
View questionsFrequently asked questions
Which companies hire Data Structures and Algorithms professionals in Pune?
Companies with large offices in Pune include Amazon, Google, Microsoft, Oracle, PhonePe, TCS. Use their company pages below to practise employer-specific sets.
Are Data Structures and Algorithms interviews in Pune different from other cities?
The questions depend more on the company than the city. Pune's mix of employers decides the style: It has a large mid-level job market for data and QA roles, and interviews are often practical and project-based
How do I find Data Structures and Algorithms jobs in Pune?
Shortlist companies with Pune offices, keep your CV focused on Data Structures and Algorithms projects, apply on company career pages and job portals with the Pune filter, and practise the questions on this page before each interview.