News for hackers. Stuff that matters.
Re:Spaced Repetition by JHonaker on Saturday May 04, 2019 @02:52PM (#19828431)
Yea, I just use the types of problems that you’d see on Leetcode or any of the other code practice sites.

The one that I did this morning was:

If given the root of a binary tree, calculate the number of unival subtrees contained in the tree.

The back is usually either blank, or has a space and time complexity that I should get if I did it correctly.

It’s important to make sure you solve it at least once, and understand the solution well before you make a card of it.

There are no comments on this comment yet.