2022-12-02 08:06:34 +00:00
|
|
|
#ifndef S0206_REVERSE_LINKED_LIST_HPP
|
|
|
|
#define S0206_REVERSE_LINKED_LIST_HPP
|
|
|
|
|
2023-01-30 12:17:47 +00:00
|
|
|
#include "structures.hpp"
|
2022-12-02 08:06:34 +00:00
|
|
|
|
|
|
|
class S0206 {
|
|
|
|
public:
|
|
|
|
ListNode* reverseList1(ListNode* head);
|
|
|
|
ListNode* reverseList2(ListNode* head);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|