most of the time,when im learning new algo,i always struggle to implement them in problems.i remember studying binary search.it took me 20 mins to understand the concept and 7 months to actually able to solve 1 problem using it.and now im learning bfs and dfs and other graph theory.i understand bfs concepts but when applied to real problems,i cant.i ended up copying others because in the problem i encounter,the nodes are coordinates,instead of numbers like node 1,2 etc.took me 3 days to try to solve before giving up.
does anyone know how to overcome this?