Coding is hard. Almost no one gets it on the first try.
I would encourage you to continue on and supplement FCC with other things like Udemy, stackskills, wes bos etc. You will begin to understand it and later you can go back to algorithms and retry them. You’re not the only one many of us have to use references and learn more even after they have their job coding is 90% googling.
The other thing you can do is break them down. Try to figure out each part, then move on, come back later to try the next part.