Data Structures and Algorithms Interview Questions in Kolkata
36 practice questions with answers for Data Structures and Algorithms interviews in Kolkata.
Data Structures and Algorithms jobs in Kolkata
Kolkata has a steady IT-services and BFSI technology job market around Salt Lake Sector V and New Town. Many openings are with service companies and their delivery centres, with a focus on strong fundamentals.
Below are 36 questions that match the mix of service, product and domain employers hiring software engineer (fresher / sde-1)s in Kolkata.
A teammate's BST validation only checks that each node is greater than its left child and smaller than its right child. Why is that wrong?
Show answer
You need to build a tool that shows the differences between two versions of a file line by line. What algorithm would you use?
Show answer
Solve two sum: return the indices of two numbers that add up to the target.
Show answer
How does quicksort work and why does pivot choice matter?
Show answer
Strings are immutable in Java and Python. How does that affect algorithm complexity?
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
A satellite image is a grid of land and water cells. How do you count the islands?
Show answer
Generate all subsets of a list of distinct numbers.
Show answer
Find the minimum number of railway platforms needed given arrival and departure times.
Show answer
What is a stable sort and why does stability matter?
Show answer
Find the lowest common ancestor of two nodes in a binary tree.
Show answer
What is time complexity and what does Big-O notation mean?
Show answer
How do you handle pressure during a timed online coding test?
Show answer
Design a rate limiter that allows at most 100 requests per user in any rolling 60-second window.
Show answer
Generate all permutations of a list of distinct numbers using backtracking.
Show answer
What are prefix sums and what problems do they solve?
Show answer
You must merge two sorted arrays where the first array has enough empty space at the end for the second. How would you do it in place?
Show answer
How do you prove that a greedy algorithm is correct?
Show answer
Explain directed, undirected, weighted graphs and DAGs.
Show answer
What is quickselect and when is it better than sorting?
Show answer
What is the difference between full, complete and perfect binary trees?
Show answer
Why is naive recursive Fibonacci exponential, and how do you fix it?
Show answer
In activity selection, why do we sort by end time rather than start time or duration?
Show answer
Find the minimum number of coins needed to make an amount.
Show answer
Describe a time you got stuck during a coding interview or contest. How did you recover?
Show answer
What is dynamic programming, and what are overlapping subproblems and optimal substructure?
Show answer
Tell me about a time you explained a technical idea to a non-technical person.
Show answer
Write a function to validate a binary search tree.
Show answer
What is a binary search tree and what is its time complexity?
Show answer
What is a trie and where is it used?
Show answer
How would you generate friend suggestions as friends of friends in a social network?
Show answer
A trading application needs a stack that also returns the current minimum in O(1). How would you design it?
Show answer
What is the difference between a static array and a dynamic array?
Show answer
How can you reduce the space used by a DP solution?
Show answer
What is a dummy or sentinel node and why is it useful in linked list problems?
Show answer
Frequently asked questions
Which companies hire Data Structures and Algorithms professionals in Kolkata?
Companies with large offices in Kolkata include many IT services and product firms. Use their company pages below to practise employer-specific sets.
Are Data Structures and Algorithms interviews in Kolkata different from other cities?
The questions depend more on the company than the city. Kolkata's mix of employers decides the style: Many openings are with service companies and their delivery centres, with a focus on strong fundamentals
How do I find Data Structures and Algorithms jobs in Kolkata?
Shortlist companies with Kolkata offices, keep your CV focused on Data Structures and Algorithms projects, apply on company career pages and job portals with the Kolkata filter, and practise the questions on this page before each interview.