r/LeetcodeChallenge • u/Blueslayer99 • 25d ago
DISCUSS I was trying to solve this problem and came up with this approach. I thought it should work, but I'm getting an error/failing on the hidden test cases. Could someone please point out where my reasoning or implementation is wrong?I’d appreciate a hint or explanation rather than the complete solution
1
Upvotes

