i have two solutions, the first is simpler but less efficient than the second.
goodluck!
@ObiVibKenobi great! i plan on doing a daily challenge, atleast for as long as i can find good ones
Amazon coding interview question - challenge for everyone
what is the challenge?
i have two solutions, the first is simpler but less efficient than the second.
if you finish it and want to challenge yourself further, try make it as time efficient as you can.
goodluck!
@ObiVibKenobi great! i plan on doing a daily challenge, atleast for as long as i can find good ones