The appearance of a token in the top gainers list doesn't necessarily make it a good one, especially if it's a meme coin, as it's clearly a pump-and-dump token.
The appearance of a token twice in the top gainers list indicates that some whales are interested in the token and are buying large quantities to dump them later. Therefore, investing in these tokens is very risky.
If you're good at sniping, you can engage in some scalping to reap some profits and then escape before the dump.