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...
For further actions, you may consider blocking this person and/or reporting abuse
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!Thanks Abby! Glad you liked it.
As interesting as this is, should it really be tagged as beginner?