Practice Practice Practice
Some tips I would like to give you.
Start from solving some easy problems it will build up your confidence. You can try codewars .
Explore new algorithms. Checkout geeksforgeeks it has ample of resources .
Problem solving skills depends upon how much experience do you have , like how much problems you have solved in the past. Many times experienced coders catch the logic fast as they have somehow dealt with the similar types of problem before.
Problem solving is like sports, the more you practice the better you become :)