I am new to leetcode and only started my journey a few weeks ago. The question I have is what is the best strategy and approach to use when I can't figure out a solution to a problem including the brute force?
Is it best to look up the duscissions ? or keep trying? I find that it is very frustrating to come up with the answers and find it hard to believe unless one has encountered a new technique there is no way one can figure it out originally all on their own., though it is possible but this would take a very long time.
Any advice is appreciated.