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

src/main/java/com/fishercoder/solutions/_88.java

Lines changed: 3 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy