Code Challenge: Java Algorithm Reverse Engineering
Reverse engineering is a process or method through which one attempts to understand through deductive reasoning how a previously made device, process, system, or piece of software accomplishes a task with very little insight into exactly how it does so.Wikipedia
We found this mysterious Java code. Can you figure out what it does? Bonus points if you can evaluate its complexity!
We have made available these extra resources to sharpen your Java coding skills:
Want to conduct interviews on this platform?
Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using this registration link!