find nearest larger value equal

if the following are true:
  • val = a
  • the element at index i of stack tree = node (a, left, right)

then find nearest largertree = find nearest largertree


Comments

Please log in to add comments