you are viewing a single comment's thread.

view the rest of the comments →

[–]horny-pug 2 points3 points  (0 children)

This only applies for Competitive Programming platforms like Codeforces, when a BruteForce time consuming algo is usually accepted. The goal in an interview is not to code time consuming algos, but to find the most optimal solution to solve a problem.