Category: Backtracking
-
(KOR) N과 M(2)
Problem – ⭐️⭐️⭐️⭐️⭐️ https://www.acmicpc.net/problem/15650 Solution Key Points Use StringBuilder to print all outputs instead of System.out.println Backtracking removes the case that we already checked
-
(KOR) N과 M(1)
Problem – ⭐️⭐️⭐️⭐️⭐️ https://www.acmicpc.net/problem/15649 Solution Key Points Use StringBuilder to print all outputs instead of System.out.println Backtracking removes the case that we already checked Backtracking is used when we have to print all or get all cases.
