Skip to content

Commit b8cf5b5

Browse files
authored
Update maximum-twin-sum-of-a-linked-list.cpp
1 parent 8726366 commit b8cf5b5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

C++/maximum-twin-sum-of-a-linked-list.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
// Time: O(n)
22
// Space: O(1)
33

4-
/**
5-
* Definition for singly-linked list.
6-
* struct ListNode {
7-
* int val;
8-
* ListNode *next;
9-
* ListNode() : val(0), next(nullptr) {}
10-
* ListNode(int x) : val(x), next(nullptr) {}
11-
* ListNode(int x, ListNode *next) : val(x), next(next) {}
12-
* };
13-
*/
144
class Solution {
155
public:
166
int pairSum(ListNode* head) {

0 commit comments

Comments
 (0)