Dsa Interview asked in chennai product based companies for anthony

150
Oct 09, 2026
Oct 17, 2026

Array Hash Table Binary Search Depth-First Search Breadth-First Search Graph Theory Sliding Window Binary Tree DSA


These are the problems faced by my junior anthony during interviews in chennai india


1. Array & Two Pointers / Sliding Window

Description: Problems involving array traversals, element pair searching, sequence tracking, and subarray constraints using linear scanning, hash sets, or multi-pointer approaches.


2. Stack, Queue, & Linked List

Description: Data structure operations requiring LIFO stack ordering, pointer manipulation, cycle detection, or in-place node re-linking.


3. Binary Trees & Graph Algorithms

Description: Tree traversals, matrix searches, level order processing, and graph dependency resolution using BFS, DFS, and topological sorting.


4. Dynamic Programming & Greedy Strategies

Description: Optimization problems requiring dynamic subproblem breakdown, unbounded knapsack formulations, or greedy choices.


5. Math, Brain Teasers, & Analytical Puzzles

Description: Logic-based interview riddles and geometry/math problems often asked to test step-by-step problem-solving skills.

  • #161 Angle between clock hands: 1344. Angle Between Hands of a Clock — Math formula for hour and minute degree differences
  • #169 Man-goat-grass-tiger river crossing puzzle: State-space river crossing logic puzzle (7 sequential trips)
  • #172 25 horses, 5 tracks, find top 3 with minimum races: Elimination puzzle — Solved in 7 races
  • #173 10 bottles with one heavier pill bottle, single weighing: Single weighing logic — Take 1 pill from bottle #1, 2 from #2, ..., up to 10 from #10
Comments (3)