You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_650.java
-22Lines changed: 0 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,5 @@
1
1
packagecom.fishercoder.solutions;
2
2
3
-
/**
4
-
* 650. 2 Keys Keyboard
5
-
*
6
-
* Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step:
7
-
8
-
Copy All: You can copy all the characters present on the notepad (partial copy is not allowed).
9
-
Paste: You can paste the characters which are copied last time.
10
-
Given a number n. You have to get exactly n 'A' on the notepad by performing the minimum number of steps permitted. Output the minimum number of steps to get n 'A'.
0 commit comments