UVA Online Judge Problem 10004 Bicoloring solution in C++

UVA Online Judge Problem 10004 Bicoloring solution in C++

Problem name: 10004 Bicoloring Platform: UVA Online Judge Click here to see the problem statement.     At first, try hard to solve the problem on your own. If you could not solve the problem on your own after trying hard, read my solution idea.       “Bicoloring” Problem Statement Editorial: In this problem,…

Permutation – HackerEarth Problem Solution And Editorial

Permutation – HackerEarth Problem Solution And Editorial

Problem name: Permutation. Platform: HackerEarth. Difficulty: Easy. Solution method: Breadth-First Search Click here to see the problem statement.     Solution Idea For Permutation HackerEarth Problem   It is a straight-cut Breadth-First Search (BFS) example. But you have to take a queue of strings and use a map for an easier solution. At first, take…