Problem link:
https://online.codingblocks.com/app/player/115374/content/73642/5203/code-challenge
Code link:
I am getting TLE for this code. Is it possible to optimize this code?
Problem link:
https://online.codingblocks.com/app/player/115374/content/73642/5203/code-challenge
Code link:
I am getting TLE for this code. Is it possible to optimize this code?
I cannot able to view the problem in this link. Pls give problem as commented in ur code.
What are the constraints of n and k and everything else
Code link with Question Commented: