Java program to remove the duplicates from the Array with the help of HashSet

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • View Notes Here - Java program to remove the duplicates from the Array with the help of HashSet

ความคิดเห็น • 7

  • @aman-oza108
    @aman-oza108 3 หลายเดือนก่อน +1

    Thank you sir nice soln and easy solution for face the question of the ans for removing duplicates

    • @QAFox
      @QAFox  หลายเดือนก่อน

      Always welcome

  • @sureshgarine
    @sureshgarine 3 ปีที่แล้ว +2

    rather than HashSet, LinkedHashSet would have preserved the order of insertion as well. thanks for the video

    • @QAFox
      @QAFox  3 ปีที่แล้ว

      Paste your solution in comments.

  • @vipintekade6400
    @vipintekade6400 ปีที่แล้ว

    Please share github url for all these interview question series ?

  • @jblseng
    @jblseng 8 หลายเดือนก่อน

    Giving 20 returns negative and for 55 it is 0!why

  • @mrbj3021
    @mrbj3021 2 ปีที่แล้ว

    When converting Hash set to Array I am getting below JAVALANG output rather than Array..
    I have entered the same code and even tried with other options. every time it is giving same. Can you please advise.
    [Ljava.lang.Integer;@452b3a41