I see many developers searching for solutions in StackOverflow for every task given. Instead of using StackOverflow right from the go-ahead, plan your approach towards the solution first, rather than trying to find a ready-made solution. Only when you get stuck then finding solutions will be a good idea.
You need to keep in mind, there will be no ready-made solutions available for the tasks you'll be given to work on in companies, hence it's very important you build your own thinking and problem-solving skills.