How to solve questions that require querying various permutations of a number/array/strings. What kind of Algos and techniques are useful??
Permutation Problems
sometimes using a map solves purpose( storing locations of numbers) or bruteforce or greedy at times, It just depends on the question. You will learn gradually.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
Can you provide some basic 3-4 problems to try, so that I can learn it gradually. ThankYou for your response
other than hackerblocks, You can find some on codeforces or codechef .