Skip to content

Commit 36f1bda

Browse files
add comment for 88
1 parent c7d4f39 commit 36f1bda

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+3
-0
lines changed

Diff for: src/main/java/com/fishercoder/solutions/_88.java

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
public class _88 {
44

55
public static class Solution1 {
6+
/**
7+
* The key to reach this optimal solution is: start from the right side instead of the left.
8+
*/
69
public void merge(int[] nums1, int m, int[] nums2, int n) {
710
int i = m - 1;
811
int j = n - 1;

0 commit comments

Comments
 (0)