Skip to content

Commit c58b3bb

Browse files
refactor 143
1 parent e01318a commit c58b3bb

File tree

1 file changed

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

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22

33
import com.fishercoder.common.classes.ListNode;
44

5-
/**
6-
* 143. Reorder List
7-
*
8-
* Given a singly linked list L: L0→L1→…→Ln-1→Ln,
9-
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
10-
11-
You must do this in-place without altering the nodes' values.
12-
13-
For example,
14-
Given {1,2,3,4}, reorder it to {1,4,2,3}.
15-
*/
165
public class _143 {
176
public static class Solution1 {
187
public void reorderList(ListNode head) {

0 commit comments

Comments
 (0)