DEV Community

Java Daily Coding Problem #006

Andrew (he/him) on August 10, 2019

Daily Coding Problem is a website which will send you a programming challenge to your inbox every day. I want to show beginners how to solve some o...
Collapse
 
abbyxing profile image
Abby Xing

Wow nice solution! I've been struggling to solve this problem in java for a while and I just ended up using an int[] memory to simulate the memory. Yours is much better!

Collapse
 
awwsmm profile image
Andrew (he/him)

Thanks Abby! Glad you liked it.

Collapse
 
valxntine profile image
valentine

As interesting as this is, should it really be tagged as beginner?