Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
Remove duplicate lists in a list of lists

I am new to javascript. Hence, I would like to know if there is an idiomatic manner to remove duplicate lists on a list of lists.

Example:

let arr1=[1, 2];
let arr2=[1, 2];
let arr3=[1, 2, 4];
let arr4=[1, 2, 3, 4, 5];

in_arr=[arr1, arr2, arr3, arr4]

// remove repeated lists function

function removeArrayDuplicates(in_arr){
    return 42
}

// let out_arr=removeDuplicates(in_arr)

out_arr=[arr1, arr3, arr4]

console.log(out_arr);

Best regards.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!