Contains Duplicate in Java

  • 0

    I wrote the answer using the Collections. Is there any way without using Collection.

    If there please give me the solution.

  • 0
    • You can implement binary tree and its contains function.

Log in to reply

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