getting wrong ans, please check if my approach is correct or not and whats wrong in my code
Not getting the output
Updated ur code:
getting wrong ans, please check if my approach is correct or not and whats wrong in my code
Updated ur code: