Hacker News new | ask | show | jobs
by learned 2600 days ago
Very cool! What format/content does a typical card contain for this category of algorithm cards you use?
1 comments

It’s usually just a problem and sometimes a simple example I can write as a test case for correctness.

Some cards I’ve put in lately are:

Calculate the level of a binary tree with the minimal sum of its elements.

Reconstruct a binary tree given an inorder and preorder list of the nodes.

The backs are usually blank or space and time complexities that I should be able to achieve.