After trying a problem if I can't find any idea in decent time, I see the editorial or someone else's solution, get the idea and immediately code it and get accepted. Is it okay? Or should I try to solve/code that problem after some days of seeing editorial or someone else's solution? Which is the best strategy to practice programming?



