InterviewBit Problems   Permutation Swaps! : Solved


About the Permutation Swaps! : Solved category (1)
Simple C++ solution using only DFS and connected components logic (3)
DFS + Set in C++ (3)
Worst compiler ever (1)
Why I am getting TLE, can anyone please explain (1)
BFS and connected component logic (1)
Easiest Solution (Disjoint set Union) (1)
Why is this simple dfs search giving runtime error? (1)
C++ clean code using Disjoint Sets (1)
Connected components solution using path compression without rank (1)
My simple c++ o(n) solution using dfs (1)
C++ easy sol using connected components (1)