DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: How do you........  (Read 7,864 times)

kim123

  • Participant
  • Joined in 2009
  • *
  • Posts: 1
How do you........
« on: February 02, 2009, 09:50 AM »
hi,

Please tell me how do you remove duplicate values from an array?

Thanks

Crush

  • Hello dude!
  • Member
  • Joined in 2006
  • **
  • Posts: 402
    • Participated in NANY Challenge Three Times
Re: How do you........
« Reply #1 on: February 02, 2009, 10:57 AM »
The fastest way is using hashtables... nothing special.

devunion

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
Re: How do you........
« Reply #2 on: February 03, 2009, 06:53 PM »
Could you tell more about your task? The best solution is not add duplicates at all.

Original address: https://www.donationcoder.com/forum/index.php?topic=16858.0