Skip to content
Navigation menu
Search
Search
Log in
Create account
DEV Community
Close
#
array
Follow
Hide
Posts
Left menu
👋
Sign in
for the ability to sort posts by
relevant
,
latest
, or
top
.
Right menu
Find duplicate or repeat elements in js array
Huy Do
Huy Do
Huy Do
Follow
Aug 10 '20
Find duplicate or repeat elements in js array
#
javascript
#
duplicate
#
repeat
#
array
85
reactions
Comments
7
comments
5 min read
Why array indexing in C++ starts from 0, not 1
Adarsh Goyal
Adarsh Goyal
Adarsh Goyal
Follow
Aug 11 '20
Why array indexing in C++ starts from 0, not 1
#
cpp
#
array
#
compiler
#
computerscience
26
reactions
Comments
10
comments
2 min read
The JavaScript Array.Map() method
Debbie O'Brien
Debbie O'Brien
Debbie O'Brien
Follow
Aug 9 '20
The JavaScript Array.Map() method
#
javascript
#
map
#
array
15
reactions
Comments
Add Comment
3 min read
Array Destructuring In PHP
ℵi✗✗
ℵi✗✗
ℵi✗✗
Follow
Aug 8 '20
Array Destructuring In PHP
#
php
#
tutorial
#
array
#
destructuring
18
reactions
Comments
Add Comment
3 min read
6 maneras de iterar un array en JavaScript
Cristian Fernando
Cristian Fernando
Cristian Fernando
Follow
Aug 7 '20
6 maneras de iterar un array en JavaScript
#
javascript
#
webdev
#
array
#
spanish
15
reactions
Comments
Add Comment
2 min read
Flatten Array using Arr::flatten() in Laravel
Vishnu Damwala
Vishnu Damwala
Vishnu Damwala
Follow
Aug 5 '20
Flatten Array using Arr::flatten() in Laravel
#
laravel
#
php
#
array
#
code
10
reactions
Comments
1
comment
2 min read
JS array vs object vs map
Bernard Wiesner
Bernard Wiesner
Bernard Wiesner
Follow
Aug 4 '20
JS array vs object vs map
#
javascript
#
array
#
object
#
map
19
reactions
Comments
2
comments
3 min read
How to toggle an item in a javascript array
Robin Gagnon
Robin Gagnon
Robin Gagnon
Follow
Aug 3 '20
How to toggle an item in a javascript array
#
javascript
#
array
#
toggle
2
reactions
Comments
Add Comment
5 min read
Sliding Window Technique🔥
ProCode
ProCode
ProCode
Follow
Jul 25 '20
Sliding Window Technique🔥
#
algorithms
#
javascript
#
codenewbie
#
array
91
reactions
Comments
3
comments
4 min read
Manipulation de tableaux avec JS
Christopher N. KATOYI
Christopher N. KATOYI
Christopher N. KATOYI
Follow
Jul 15 '20
Manipulation de tableaux avec JS
#
javascript
#
francais
#
french
#
array
11
reactions
Comments
Add Comment
12 min read
Split/Slice an Array into chunks (golang)
vasubabu
vasubabu
vasubabu
Follow
Jul 14 '20
Split/Slice an Array into chunks (golang)
#
go
#
split
#
array
#
chunk
6
reactions
Comments
Add Comment
1 min read
Fish shell: if with array
nabbisen
nabbisen
nabbisen
Follow
Jul 10 '20
Fish shell: if with array
#
fish
#
shell
#
if
#
array
5
reactions
Comments
Add Comment
1 min read
Javascript in real world
Mrinal Raj
Mrinal Raj
Mrinal Raj
Follow
Jul 5 '20
Javascript in real world
#
javascript
#
array
#
arraymethods
#
javascripttips
4
reactions
Comments
Add Comment
5 min read
The problem with array cloning in Javascript (and how to solve it)
Jorge Ramón
Jorge Ramón
Jorge Ramón
Follow
Jun 23 '20
The problem with array cloning in Javascript (and how to solve it)
#
todayisearched
#
javascript
#
array
#
deepclone
10
reactions
Comments
Add Comment
4 min read
How to add an element to ending of an array with ES6
Vishnu Damwala
Vishnu Damwala
Vishnu Damwala
Follow
Jun 21 '20
How to add an element to ending of an array with ES6
#
javascript
#
tutorial
#
array
#
es6
9
reactions
Comments
Add Comment
1 min read
A Cautionary Tale on Using JavaScript's fill() Method
Annie Liao
Annie Liao
Annie Liao
Follow
Jun 20 '20
A Cautionary Tale on Using JavaScript's fill() Method
#
javascript
#
array
#
algorithms
9
reactions
Comments
1
comment
4 min read
How to count occurrences of dates in an array of date ranges: JavaScript
AshikPaul42
AshikPaul42
AshikPaul42
Follow
Jun 8 '20
How to count occurrences of dates in an array of date ranges: JavaScript
#
javascript
#
array
7
reactions
Comments
Add Comment
1 min read
Array Operation with Javascript
Humza Hasan
Humza Hasan
Humza Hasan
Follow
Jun 3 '20
Array Operation with Javascript
#
javascript
#
array
#
codenewbie
#
100daysofcode
6
reactions
Comments
Add Comment
2 min read
The filter(Boolean) trick
Michael Uloth
Michael Uloth
Michael Uloth
Follow
Jun 2 '20
The filter(Boolean) trick
#
javascript
#
array
#
filter
#
webdev
28
reactions
Comments
2
comments
3 min read
5 less common array methods in JavaScript
Sunny Praksah
Sunny Praksah
Sunny Praksah
Follow
May 25 '20
5 less common array methods in JavaScript
#
javascript
#
array
5
reactions
Comments
Add Comment
3 min read
Count Square Submatrices with All Ones - Leet Code
Subramanya Chakravarthy
Subramanya Chakravarthy
Subramanya Chakravarthy
Follow
May 22 '20
Count Square Submatrices with All Ones - Leet Code
#
array
#
dynamicprogramming
6
reactions
Comments
2
comments
2 min read
Understanding 2D array (with python)
Rivier Grullon
Rivier Grullon
Rivier Grullon
Follow
May 8 '20
Understanding 2D array (with python)
#
python
#
datastructure
#
array
5
reactions
Comments
Add Comment
2 min read
Managing and removing duplicated values with javascript Sets
Mateus Amorim
Mateus Amorim
Mateus Amorim
Follow
Apr 18 '20
Managing and removing duplicated values with javascript Sets
#
javascript
#
typescript
#
set
#
array
8
reactions
Comments
Add Comment
7 min read
How Would You Reverse an Array In Place?
Alisa Bajramovic
Alisa Bajramovic
Alisa Bajramovic
Follow
Mar 30 '20
How Would You Reverse an Array In Place?
#
array
#
algorithms
#
javascript
8
reactions
Comments
1
comment
1 min read
How to Reduce Functions in Javascript
Diegoper
Diegoper
Diegoper
Follow
Mar 23 '20
How to Reduce Functions in Javascript
#
javascript
#
node
#
reduce
#
array
12
reactions
Comments
2
comments
1 min read
Algorithm 202: Where I Belong in 3 Ways
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
Follow
Mar 19 '20
Algorithm 202: Where I Belong in 3 Ways
#
algorithms
#
javascript
#
array
#
beginners
9
reactions
Comments
1
comment
2 min read
Algorithm 202: Array Merging Without Duplicates in 4 Ways
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
Follow
Mar 19 '20
Algorithm 202: Array Merging Without Duplicates in 4 Ways
#
algorithms
#
javascript
#
array
#
beginners
11
reactions
Comments
Add Comment
2 min read
Algorithm 202: Array Chunking in 3 Ways
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
NJOKU SAMSON EBERE
Follow
Mar 18 '20
Algorithm 202: Array Chunking in 3 Ways
#
algorithms
#
javascript
#
array
#
beginners
9
reactions
Comments
4
comments
2 min read
How to Remove Duplicates From Array using Java
Jaymin Prajapati
Jaymin Prajapati
Jaymin Prajapati
Follow
Mar 11 '20
How to Remove Duplicates From Array using Java
#
java
#
array
#
duplicates
#
remove
9
reactions
Comments
Add Comment
3 min read
PHP Map: Advanced collection methods
toco
toco
toco
Follow
Mar 11 '20
PHP Map: Advanced collection methods
#
php
#
array
#
tutoial
#
collection
12
reactions
Comments
Add Comment
5 min read
How to convert a Js string to an array
Tobi Ajibade
Tobi Ajibade
Tobi Ajibade
Follow
Mar 9 '20
How to convert a Js string to an array
#
javascript
#
string
#
array
#
stringmethod
6
reactions
Comments
Add Comment
3 min read
Nested Array Inside Formik
Momen Hesham
Momen Hesham
Momen Hesham
Follow
Mar 8 '20
Nested Array Inside Formik
#
react
#
array
#
nested
#
formik
7
reactions
Comments
Add Comment
1 min read
How to insert a Postgres Array from a Stringified JSON Array
Richard Coates (he/him)
Richard Coates (he/him)
Richard Coates (he/him)
Follow
Mar 6 '20
How to insert a Postgres Array from a Stringified JSON Array
#
postgres
#
json
#
array
6
reactions
Comments
Add Comment
2 min read
Quick JavaScript tip #3: deep clone an array
Oskar Codes
Oskar Codes
Oskar Codes
Follow
Mar 5 '20
Quick JavaScript tip #3: deep clone an array
#
javascript
#
tip
#
array
9
reactions
Comments
Add Comment
3 min read
Let's Count Some Sheep!
Michelle Kaplan
Michelle Kaplan
Michelle Kaplan
Follow
Feb 21 '20
Let's Count Some Sheep!
#
boolean
#
array
#
javascript
29
reactions
Comments
15
comments
3 min read
#2 Live Kata Report
Raffaele Pizzari
Raffaele Pizzari
Raffaele Pizzari
Follow
Feb 5 '20
#2 Live Kata Report
#
javascript
#
reduce
#
array
#
sort
6
reactions
Comments
1
comment
2 min read
How to Turn a String into an Array of Characters: 3 Ways to do so.
Islam Sayed
Islam Sayed
Islam Sayed
Follow
Feb 4 '20
How to Turn a String into an Array of Characters: 3 Ways to do so.
#
javascript
#
tutorial
#
array
#
string
18
reactions
Comments
3
comments
1 min read
#1 Live Kata Report
Raffaele Pizzari
Raffaele Pizzari
Raffaele Pizzari
Follow
Feb 4 '20
#1 Live Kata Report
#
javascript
#
sort
#
array
#
regex
7
reactions
Comments
Add Comment
2 min read
To Mutate, Or Not To Mutate? JavaScript Array Methods Cheat Sheet
Annie Liao
Annie Liao
Annie Liao
Follow
Feb 3 '20
To Mutate, Or Not To Mutate? JavaScript Array Methods Cheat Sheet
#
todayilearned
#
javascript
#
array
38
reactions
Comments
5
comments
7 min read
What is the best solution for removing duplicate Objects from an Array?
Raffaele Pizzari
Raffaele Pizzari
Raffaele Pizzari
Follow
Jan 30 '20
What is the best solution for removing duplicate Objects from an Array?
#
javascript
#
objects
#
array
#
frontend
24
reactions
Comments
8
comments
5 min read
How to Swap Variables' values Using Array Destructuring
Islam Sayed
Islam Sayed
Islam Sayed
Follow
Jan 28 '20
How to Swap Variables' values Using Array Destructuring
#
javascript
#
array
#
destructuring
7
reactions
Comments
2
comments
1 min read
The fun of filter, according to the ECMAScript spec
Safia Abdalla
Safia Abdalla
Safia Abdalla
Follow
Jan 22 '20
The fun of filter, according to the ECMAScript spec
#
javascript
#
spec
#
filter
#
array
39
reactions
Comments
Add Comment
4 min read
Javascript Devtool Tip: Print An Array in Console
VICTOR OMONDI
VICTOR OMONDI
VICTOR OMONDI
Follow
Jan 11 '20
Javascript Devtool Tip: Print An Array in Console
#
javascript
#
array
5
reactions
Comments
Add Comment
1 min read
PHP Collections: Array to Map
toco
toco
toco
Follow
Jan 7 '20
PHP Collections: Array to Map
#
php
#
array
#
tutorial
#
collection
7
reactions
Comments
2
comments
5 min read
Functors and Monads in plain TypeScript
Alexey Tukalo
Alexey Tukalo
Alexey Tukalo
Follow
Dec 13 '19
Functors and Monads in plain TypeScript
#
monad
#
promise
#
array
#
functor
45
reactions
Comments
Add Comment
7 min read
Exercise - Array.prototype methods with reduce
Marwan El Boussarghini
Marwan El Boussarghini
Marwan El Boussarghini
Follow
Nov 5 '19
Exercise - Array.prototype methods with reduce
#
javascript
#
array
#
exercise
37
reactions
Comments
Add Comment
7 min read
Slicing and Dicing Arrays in D
Jesse Phillips
Jesse Phillips
Jesse Phillips
Follow
Nov 4 '19
Slicing and Dicing Arrays in D
#
dlang
#
tutorial
#
array
8
reactions
Comments
Add Comment
4 min read
Javascript reduce 101
Igor Irianto
Igor Irianto
Igor Irianto
Follow
Nov 1 '19
Javascript reduce 101
#
javascript
#
reduce
#
array
#
callback
89
reactions
Comments
7
comments
4 min read
Toolkit - map / filter / reduce in arrays
Marwan El Boussarghini
Marwan El Boussarghini
Marwan El Boussarghini
Follow
Oct 22 '19
Toolkit - map / filter / reduce in arrays
#
javascript
#
functional
#
array
7
reactions
Comments
Add Comment
6 min read
Array in Javascript for Beginner
GiandoDev
GiandoDev
GiandoDev
Follow
Oct 21 '19
Array in Javascript for Beginner
#
array
#
javascript
#
beginners
7
reactions
Comments
Add Comment
4 min read
Evaluate all values in an array in Javascript
Risa Fujii
Risa Fujii
Risa Fujii
Follow
Oct 19 '19
Evaluate all values in an array in Javascript
#
javascript
#
array
#
beginners
43
reactions
Comments
12
comments
2 min read
Javascript Slice Vs Splice
keshavdutt
keshavdutt
keshavdutt
Follow
Oct 10 '19
Javascript Slice Vs Splice
#
javascript
#
array
15
reactions
Comments
4
comments
3 min read
For loop ignoring first line, after first loop execution in C
Md Rashedul Hasan
Md Rashedul Hasan
Md Rashedul Hasan
Follow
Sep 25 '19
For loop ignoring first line, after first loop execution in C
#
c
#
array
#
loop
4
reactions
Comments
Add Comment
1 min read
Removing duplicates from a string in one planet-size JavaScript statement
Sergei
Sergei
Sergei
Follow
Sep 22 '19
Removing duplicates from a string in one planet-size JavaScript statement
#
duplicates
#
javascript
#
interview
#
array
6
reactions
Comments
Add Comment
2 min read
Initializing array with length
Kevin Sullivan
Kevin Sullivan
Kevin Sullivan
Follow
Sep 21 '19
Initializing array with length
#
todayilearned
#
javascript
#
array
6
reactions
Comments
Add Comment
1 min read
Everything You Need to Know About Array#reduce
Daniel Worsnup
Daniel Worsnup
Daniel Worsnup
Follow
Sep 15 '19
Everything You Need to Know About Array#reduce
#
javascript
#
array
#
reduce
90
reactions
Comments
12
comments
10 min read
List of ways to merge arrays in javascript!
Varit Patel
Varit Patel
Varit Patel
Follow
Sep 15 '19
List of ways to merge arrays in javascript!
#
javascript
#
array
#
interview
9
reactions
Comments
Add Comment
1 min read
Chunking Arrays in Javascript
Osama Qarem
Osama Qarem
Osama Qarem
Follow
Aug 22 '19
Chunking Arrays in Javascript
#
sqlite
#
javascript
#
typeorm
#
array
11
reactions
Comments
Add Comment
2 min read
JavaScript Array Splice Issue
bob.ts
bob.ts
bob.ts
Follow
Aug 15 '19
JavaScript Array Splice Issue
#
javascript
#
array
#
splice
#
webdev
24
reactions
Comments
6
comments
1 min read
Deli Counter Challenge
Mark Harless
Mark Harless
Mark Harless
Follow
Aug 11 '19
Deli Counter Challenge
#
javascript
#
array
9
reactions
Comments
3
comments
4 min read
loading...
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account