How to add a remove method to this iterator?


  • 0
    E

    As we know, there're three method in java Iterator interface, next, hasNext and remove. I'm wondering is it possible to implement the remove method for this BST iterator? Thanks.


  • -1
    W

    iterable interface does not require this


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.