2022-12-02 09:24:26 +00:00
|
|
|
#ifndef S0160_INTERSECTION_OF_TWO_LINKED_LISTS_HPP
|
|
|
|
#define S0160_INTERSECTION_OF_TWO_LINKED_LISTS_HPP
|
|
|
|
|
2023-01-30 12:17:47 +00:00
|
|
|
#include "structures.hpp"
|
2022-12-02 09:24:26 +00:00
|
|
|
|
|
|
|
class S0160 {
|
|
|
|
public:
|
|
|
|
ListNode *getIntersectionNode(ListNode *headA, ListNode *headB);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|