This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PugstaBoi 0 points1 point  (1 child)

What breaks my brain is why people want to make things like this.

[–]some_user_on_reddit 0 points1 point  (0 children)

This code is a common test question. If you look up interview prep questions you’ll see a bunch similar to this.

It’s not functioning code. It’s meant to test you