getting wa in this problem, need help
problem link
my solution
Leetcode Weekly 498 Solution Discussion