leetcode/include/s0206_reverse_linked_list.hpp

13 lines
222 B
C++

#ifndef S0206_REVERSE_LINKED_LIST_HPP
#define S0206_REVERSE_LINKED_LIST_HPP
#include "structures.hpp"
class S0206 {
public:
ListNode* reverseList1(ListNode* head);
ListNode* reverseList2(ListNode* head);
};
#endif