forked fromneetcode-gh/leetcode
- Notifications
You must be signed in to change notification settings - Fork0
Commitad1983b
authored
Update 0121-best-time-to-buy-and-sell-stock.java
File Modified: 0121-best-time-to-buy-and-sell-stock.javaLanguage Used: javaSubmission URL:https://leetcode.com/problems/best-time-to-buy-and-sell-stock/submissions/1078835157/Improved readability by moving 'right++' end of 'if' and 'else' block.1 parent4a57286 commitad1983b
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
0 commit comments
Comments
(0)