This problem was asked by Twitter. You run an e-commerce website and want to record the last N orde ...

[Daily Coding Problem] 16. Last N order ids implementation

This problem was asked by Twitter. You run an e-commerce website and want to record the last N orde ...

[Daily Coding Problem 365] Implement Quack using 3 stacks

A quack is a data structure combining properties of both stacks and queues. It can be viewed as a li ...

[Daily Coding Problem 290] Quxes Transformation

On a mysterious island there are creatures known as Quxes which come in three colors: red, green, an ...

[Daily Coding Problem 24] Implement locking in a binary tree.

This problem was asked by Google. Implement locking in a binary tree. A binary tree node can be loc ...

[Daily Coding Problem 72] Max path value in directed graph

This problem was asked by Google. In a directed graph, each node is assigned an uppercase letter. W ...