AmeyPatil's blog

By AmeyPatil, history, 6 months ago, In English

Today while solving a problem I came up with this solution . which passes the first test case but gives wrong answer on the 2nd case and the problem is Idk what the test is since its not visible . I have tried generating random test cases by myself and also using chatgpt to understand which case it could be failing on but no luck . So i wanted to ask how do you guys debug it . this is the first time I have encountered this issue (i am new :P) . Any help on the problem would also be appreciated :) . thanks

Full text and comments »

  • Vote: I like it
  • -9
  • Vote: I do not like it