#ifndef S0236_LOWEST_COMMON_ANCESTOR_OF_A_BINARY_TREE_HPP #define S0236_LOWEST_COMMON_ANCESTOR_OF_A_BINARY_TREE_HPP #include "structures.hpp" class S0236 { public: TreeNode* lowestCommonAncestor(TreeNode* root, TreeNode* p, TreeNode* q); }; #endif