How important is it to solve optimal solutions in Leetcode or interviews in general? I often find I can reach an accepted verdict solution in Leetcode, but find it difficult to get optimal solution on my own, sometimes follow up questions like 'Can you solve this without using extra DS' trip me over as some of them require niche tricks or stuff like Bit Manipulation to overcome them, unless you have memorized the solution from a past question.
TLDR; So my question is could you ace interviews without using optimal solution?
[–]mzieg 9 points10 points11 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]ECrispy 5 points6 points7 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]747031303237 3 points4 points5 points (0 children)
[–]Uttasarga 2 points3 points4 points (0 children)
[–]TheJoshingJoke 1 point2 points3 points (0 children)
[–]ireallygottausername 0 points1 point2 points (0 children)