Quiz game how to disappear duplication question

I am making a quiz game. But there is a problem.
I want to avoid duplicate questions.
The problem is that you want to avoid duplication problems by shuffling.
For example, if there are 10 problems, 10 problems will be presented without duplication.
Help me solve this. Thank you.

Why not just remove a question from the pool once it has been used?

If you create an array of ints containing the ids of your questions (0 - 9 for example) and “shuffle” it, you can just use this as your order and save your progress as an integer.