/interviews-code

Samples of algorithms and exercises.

Primary LanguageJavaScript

Interviews code

Samples of algorithms and exercises, and useful concepts.

  • Array*
  • Hash Tables
  • Liked list
    • Double linked list*
    • Circular linked list*
  • Trees
    • Binary tree and binary search tree
  • Stacks
    • Stack
    • Queue

* Only info

Algorithms

Sorting

  • Quick sort

Interview questions (exercises)

  • Arrays and Strings
  • The Big O

Resources

To investigate

The Big O

  • The space and time complexity

Data structures

Trees

  • Adelson-Velskii and Landis' tree (AVL tree) (self-balancing BST tree)
  • Red-Black tree
  • Heap tree

Heap

Algorithms

Binary Search