Coding Interview Questions

Comprehensive coding interview questions covering algorithms, data structures, and problem-solving techniques with Go implementations.

Data Structures

Detailed explanations and implementations of core data structures:

  • Binary trees and BSTs
  • Heaps and priority queues
  • Tries and advanced trees
  • Linked lists and arrays
  • Hash tables and caches (LRU/LFU)

Interview Challenges

Common coding interview patterns and techniques:

  • Sliding window
  • Two pointers
  • Fast and slow pointers
  • Merge intervals
  • Cyclic sort
  • Top K elements
  • Binary search variations
  • Tree BFS/DFS
  • Graph algorithms
  • Dynamic programming

Snippets