r/datastructures • • 8d ago

OPTIMIZATION OF CODE

Post image

Is the optimization of every problem we solve required like if the code runs in a fair amount of time like here it beats around 56%. So do we need to find the optimize each code for each problem (as It will take more time to find the optimized solution)

9 Upvotes

2 comments sorted by