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