Find unique common element from 3 arrays

前端 未结 7 1666
故里飘歌
故里飘歌 2021-02-03 14:43

Original Problem:
I have 3 boxes each containing 200 coins, given that there is only one person who has made calls from all of the three boxes and thus the

7条回答
  •  無奈伤痛
    2021-02-03 15:11

    Some improvement in Pelkonen's answer:
    From converted problem in OP:

    "Given that there is one and only one common element in these 3 arrays."

    We need to sort only 2 arrays and find common element.

提交回复
热议问题