Google Interview Question

The first one was a LeetCode Easy problem about finding a path in a