hot100链表

This commit is contained in:
linlihong 2024-08-20 18:07:37 +08:00
parent ea7b104794
commit 0f35386fb0
3 changed files with 41 additions and 0 deletions

View File

@ -5,6 +5,7 @@ public class Template {
/**
* Date 2924/8/19
* DayNumber 1/2/3/4
* hard 1
* @param template
*/
public void test(int template){

View File

@ -0,0 +1,23 @@
package com.cool.hot100.linkedlist;
public class ListNode {
int val;
ListNode next;
ListNode() {
}
ListNode(int val) {
this.val = val;
}
ListNode(int val, ListNode next) {
this.val = val;
this.next = next;
}
}

View File

@ -0,0 +1,17 @@
package com.cool.hot100.linkedlist;
public class Num206 {
/**
* Date 2024/8/20
* DayNumber 1
* Hard 1
* @param head
* @return
*/
public ListNode reverseList(ListNode head) {
}
}