A complete list of questions asked by top companies like Google, Amazon, Meta, Microsoft, and more.


🧠 Coding & Algorithms (Google, Amazon, Meta)

  1. Reverse a linked list
  2. Detect a loop in a linked list
  3. Implement a LRU Cache
  4. Find the longest substring without repeating characters
  5. Merge two sorted arrays
  6. Check if a string is a palindrome
  7. Validate balanced parentheses
  8. Fibonacci with memoization
  9. Implement debounce/throttle
  10. Flatten nested arrays
  11. Binary search
  12. Autocomplete feature
  13. Find the balance point of an array
  14. Generate HTML from input dataset
  15. Tic Tac Toe game logic
  16. First non-repeating character