Questions based on minimum number of swaps
Anonymous User
120

Hello LeetCoders , I'm a beginner to coding . How can I solve questions which ask for minimum number of swaps or iterations . Some are solved using DP , some using sliding window etc. How to identify which DS or algo to use for them . How to approach for such questions , any kind of help is always accepted .

Comments (0)