Leetcode - 2 Keys Keyboard Solution
Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step:
1. Copy All: You can copy all the characters present on the notepad (partial copy is not allowed).
2. Paste: You can paste the characters which are