Hey dude, don't stress out about it.
I also suck at math and I think math algorithm questions can be very tricky. Especially for those who aren't so good at math.
But if you get stuck and have no idea, just try to find the pattern especially in math problems and analyze it slowly. Take your time.
If you see the pattern, you will be closer to coding up your answer!
Nice solution
This comment is hidden because it contains spoiler information about the solution
well, this took awhile LOL
Nice kata!
Hey dude, don't stress out about it.
I also suck at math and I think math algorithm questions can be very tricky. Especially for those who aren't so good at math.
But if you get stuck and have no idea, just try to find the pattern especially in math problems and analyze it slowly. Take your time.
If you see the pattern, you will be closer to coding up your answer!
Good luck and don't give up.
Actually, I solved the other one that 5 kyu but Im struggling to come up with algo for this :/ I suck
Nice kata! Im a beginner and it took awhile but it was fun!!
Nice kata! I'm a beginner and this took me 2 hours + to finish it but definately difficult compared to most of other 6 Kyu questions!
Thanks for this!
Nice kata! First time using divide and conquer or similar...