Search for a command to run...
|
Common interview problems — watch the algorithm run step by step, then read the solution in your language of choice.
Find two numbers in an array that add up to a given target.
Find the index of a target value in a sorted array in logarithmic time.
Check whether every opening bracket has a matching, correctly-ordered closing bracket.
Reverse a singly linked list in-place.
Detect whether a linked list contains a cycle, using Floyd's tortoise and hare algorithm.