Bug Report for https://neetcode.io/problems/replace-elements-with-greatest-element-on-right-side
I noticed a bug with the contraint for the value of arr[i]. It says here that the least value is 1, but one of my test cases for submission had array element values of 0.

Bug Report for https://neetcode.io/problems/replace-elements-with-greatest-element-on-right-side
I noticed a bug with the contraint for the value of arr[i]. It says here that the least value is 1, but one of my test cases for submission had array element values of 0.