Facebook | Phone | pow(x, n) & Inorder Predecessor in BST
Anonymous User
2997
Mar 17, 2020
Mar 17, 2020
Question1:
Implement method to calculate x to the power of n: https://leetcode.com/problems/powx-n/
Question 2:
Given a target node in a BST, find the predecessor node. Note: not the parent note, but the next smallest value in the BST.
Comments (8)


