code : https://ide.codingblocks.com/s/245705
ques : https://hack.codingblocks.com/app/practice/1/496/problem
what is wrong in the code?
code : https://ide.codingblocks.com/s/245705
ques : https://hack.codingblocks.com/app/practice/1/496/problem
what is wrong in the code?
This is the algorithm to solve this problem:
the code which i have written passes all test cases in leetcode and geeksforgeeks
why not here? can you please look