I'm prepared for the competitive exam like this (a sample question).
In order to solve the problems, first to familiarize with the prerequisite for the each concept. It's ok!
My problem is: If I'm working certain problems on group theory, then it will take two days or a week. Ok! No problem. After the week, I can move on to the next concept like integration, so it will take some time. But in the third week, I lack some concepts bit about group theory (even sometimes, I'm forgetting what I'm doing in the first week). So I feel I waste lot of time. I really want to learn algebra, analysis, topology, and all that simultaneously (sorry if this word does not make sense) or to first learn some bit about algebra and then analysis? I don't no how to move on?
Suppose the question booklet start with group theory. That is, the first question involves group theory, the second one involves like analyticity and the 17th question (for example) involves again group theory etc.
My question is: Is the way to doing problems one by one (in the order)? or By selecting the first one and do all the problems related to group theory and then move on the next concept (like analyticity)? or anything else?
What is the best strategy to prepare this type of exam?
Forgetting something is normal. What you have to do then is to remind yourself of what you once remembered actively. It is much easier the second time. It is easy to forget things after focusing on them for a week. A more permanent understanding of the topics needs a longer time frame than a couple of weeks.
This kind of thing is learned by repetition, and you have to keep repeating. Even if you are satisfied with your algebra skills after one intensive week of algebra, do not give up doing exercises in algebra. Otherwise you will forget easily. Every day, do a little bit of algebra on the side while learning integration.
Ideally, you should study new things that build on old things. That way you are constantly reminded of earlier material and have to keep rehearsing it. For example, when you study proofs with $\epsilon$ and $\delta$ in analysis, you will be constantly reminded of how to deal with absolute values and basic algebra.
Designing the curriculum so that you build on previous knowledge is not trivial, especially if you don't already know what prerequisites each topic has. Therefore I can only suggest to try to apply old knowledge when possible.
The most important thing is to keep all knowledge active. The best way is to do exercises with mixed topics every once in a while, so that you have to keep using all the tools you have picked up over the last weeks. You will sometimes forget something. That's fine; then just go back and relearn it.
Do not try to learn the different topics in isolation. (They are not isolated in the example exam, either.) Many of the boundaries are artificial, which will come more and more evident as you progress in your studies.
In addition to learning how to mechanically execute tasks, learn why the methods work. Insight and understanding is very valuable.
You might also be interested in the question "How can you be perfect at maths (highschool)?" and its answers.