leetcode/include/s0019_remove_nth_node_from_...

12 lines
217 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0019_REMOVE_NTH_NODE_FROM_END_OF_LIST_HPP
#define S0019_REMOVE_NTH_NODE_FROM_END_OF_LIST_HPP
2022-11-04 08:56:13 +00:00
2023-01-30 12:17:47 +00:00
#include "structures.hpp"
2022-11-04 08:56:13 +00:00
2022-11-30 10:20:36 +00:00
class S0019 {
2022-11-04 08:56:13 +00:00
public:
ListNode* removeNthFromEnd(ListNode* head, int n);
};
#endif