Dada
|> Structures
|> Algorithms

Thoughts on array puzzles

The devil is in the (tedious) details

This is my first blog, maybe the last one too, who knows, where I review different type of computer science puzzles used on coding interviews. I am opinionated on silly topics, so why not? I will give a rating from zero to 4 saddy faces, because it feels so appropriate.

Array Puzzles

rating: :( :(

Array puzzles usually lean into off-by-one and boundary errors. Once you learn about them, they are not difficult to find a solution. The problem becomes making tiny mistakes.

Array puzzles are good when you are learning to program because you have some simple problems that one can explore arrays, loops, and pointers in the form of indices.

The trick with these for experience developers is that because the problems are simple, one believes that we don't need to practice these, so one gets rusty on identifying the tricky details.

Array puzzles get two saddy faces. The difficulty is actually one, but it gets two for being tedious to get them right.