質問するログイン新規登録

質問編集履歴

1

追記

2019/11/05 13:04

投稿

sequelanonymous
sequelanonymous

スコア123

title CHANGED
File without changes
body CHANGED
@@ -7,6 +7,9 @@
7
7
  >
8
8
  > Given linked list -- head = [4,5,1,9], which looks like following:
9
9
 
10
+ (出典元: https://leetcode.com/explore/interview/card/top-interview-questions-easy/93/linked-list/553/)
11
+
12
+
10
13
  Input: head = [4,5,1,9], node = 5
11
14
  Output: [4,1,9]
12
15
 
@@ -27,7 +30,10 @@
27
30
  node.val = node.next.val
28
31
  node.next = node.next.next
29
32
  ```
33
+ (出典元: https://leetcode.com/explore/interview/card/top-interview-questions-easy/93/linked-list/553/)
34
+
35
+
30
- 使い方
36
+ 実際に実行した結果
31
37
  ```
32
38
 
33
39
  head = [4,5,1,9]