Skip to content

Commit 687e044

Browse files
resubmit: resubmission of LeetCode 3062
1 parent f637f8b commit 687e044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lesson_12/structs_ts/src/lesson12.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ export class Lesson12 {
2020
if (next === undefined) {
2121
return '';
2222
}
23+
2324
if (curr.val > next?.val) {
2425
e_pts++;
2526
} else if (curr.val < next?.val) {
2627
o_pts++;
2728
}
29+
2830
curr = next.next;
2931
}
3032

0 commit comments

Comments
 (0)