This commit is contained in:
2022-11-30 18:20:36 +08:00
parent b13cfa00bb
commit 72555b19e0
132 changed files with 332 additions and 334 deletions

View File

@@ -1,6 +1,6 @@
#include "s0024_swap_nodes_in_pairs.hpp"
ListNode* swapPairs(ListNode* head) {
ListNode* S0024::swapPairs(ListNode* head) {
if (head == nullptr || head->next == nullptr) {
return head;
}