#ifndef S0025_REVERSE_NODES_IN_K_GROUP_HPP #define S0025_REVERSE_NODES_IN_K_GROUP_HPP #include #include #include "structures.hpp" using namespace std; class S0025 { public: ListNode* reverseKGroup(ListNode* head, int k); pair myReverse(ListNode* head, ListNode* tail); }; #endif