leetcode/include/s0450_delete_node_in_a_bst.hpp

12 lines
189 B
C++

#ifndef S0450_DELETE_NODE_IN_A_BST_HPP
#define S0450_DELETE_NODE_IN_A_BST_HPP
#include "structures.hpp"
class S0450 {
public:
TreeNode* deleteNode(TreeNode* root, int key);
};
#endif