DEV Community

# array

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Find duplicate or repeat elements in js array

Find duplicate or repeat elements in js array

85
Comments 7
5 min read
Why array indexing in C++ starts from 0, not 1

Why array indexing in C++ starts from 0, not 1

26
Comments 10
2 min read
The JavaScript Array.Map() method

The JavaScript Array.Map() method

15
Comments
3 min read
Array Destructuring In PHP

Array Destructuring In PHP

18
Comments
3 min read
6 maneras de iterar un array en JavaScript

6 maneras de iterar un array en JavaScript

15
Comments
2 min read
Flatten Array using Arr::flatten() in Laravel

Flatten Array using Arr::flatten() in Laravel

10
Comments 1
2 min read
JS array vs object vs map

JS array vs object vs map

19
Comments 2
3 min read
How to toggle an item in a javascript array

How to toggle an item in a javascript array

2
Comments
5 min read
Sliding Window Technique🔥

Sliding Window Technique🔥

91
Comments 3
4 min read
Manipulation de tableaux avec JS

Manipulation de tableaux avec JS

11
Comments
12 min read
Split/Slice an Array into chunks (golang)

Split/Slice an Array into chunks (golang)

6
Comments
1 min read
Fish shell: if with array

Fish shell: if with array

5
Comments
1 min read
Javascript in real world

Javascript in real world

4
Comments
5 min read
The problem with array cloning in Javascript (and how to solve it)

The problem with array cloning in Javascript (and how to solve it)

10
Comments
4 min read
How to add an element to ending of an array with ES6

How to add an element to ending of an array with ES6

9
Comments
1 min read
A Cautionary Tale on Using JavaScript's fill() Method

A Cautionary Tale on Using JavaScript's fill() Method

9
Comments 1
4 min read
How to count occurrences of dates in an array of date ranges: JavaScript

How to count occurrences of dates in an array of date ranges: JavaScript

7
Comments
1 min read
Array Operation with Javascript

Array Operation with Javascript

6
Comments
2 min read
The filter(Boolean) trick

The filter(Boolean) trick

28
Comments 2
3 min read
5 less common array methods in JavaScript

5 less common array methods in JavaScript

5
Comments
3 min read
Count Square Submatrices with All Ones - Leet Code

Count Square Submatrices with All Ones - Leet Code

6
Comments 2
2 min read
Understanding 2D array (with python)

Understanding 2D array (with python)

5
Comments
2 min read
Managing and removing duplicated values with javascript Sets

Managing and removing duplicated values with javascript Sets

8
Comments
7 min read
How Would You Reverse an Array In Place?

How Would You Reverse an Array In Place?

8
Comments 1
1 min read
How to Reduce Functions in Javascript

How to Reduce Functions in Javascript

12
Comments 2
1 min read
Algorithm 202: Where I Belong in 3 Ways

Algorithm 202: Where I Belong in 3 Ways

9
Comments 1
2 min read
Algorithm 202: Array Merging Without Duplicates in 4 Ways

Algorithm 202: Array Merging Without Duplicates in 4 Ways

11
Comments
2 min read
Algorithm 202: Array Chunking in 3 Ways

Algorithm 202: Array Chunking in 3 Ways

9
Comments 4
2 min read
How to Remove Duplicates From Array using Java

How to Remove Duplicates From Array using Java

9
Comments
3 min read
PHP Map: Advanced collection methods

PHP Map: Advanced collection methods

12
Comments
5 min read
How to convert a Js string to an array

How to convert a Js string to an array

6
Comments
3 min read
Nested Array Inside Formik

Nested Array Inside Formik

7
Comments
1 min read
How to insert a Postgres Array from a Stringified JSON Array

How to insert a Postgres Array from a Stringified JSON Array

6
Comments
2 min read
Quick JavaScript tip #3: deep clone an array

Quick JavaScript tip #3: deep clone an array

9
Comments
3 min read
Let's Count Some Sheep!

Let's Count Some Sheep!

29
Comments 15
3 min read
#2 Live Kata Report

#2 Live Kata Report

6
Comments 1
2 min read
How to Turn a String into an Array of Characters: 3 Ways to do so.

How to Turn a String into an Array of Characters: 3 Ways to do so.

18
Comments 3
1 min read
#1 Live Kata Report

#1 Live Kata Report

7
Comments
2 min read
To Mutate, Or Not To Mutate? JavaScript Array Methods Cheat Sheet

To Mutate, Or Not To Mutate? JavaScript Array Methods Cheat Sheet

38
Comments 5
7 min read
What is the best solution for removing duplicate Objects from an Array?

What is the best solution for removing duplicate Objects from an Array?

24
Comments 8
5 min read
How to Swap Variables' values Using Array Destructuring

How to Swap Variables' values Using Array Destructuring

7
Comments 2
1 min read
The fun of filter, according to the ECMAScript spec

The fun of filter, according to the ECMAScript spec

39
Comments
4 min read
Javascript Devtool Tip: Print An Array in Console

Javascript Devtool Tip: Print An Array in Console

5
Comments
1 min read
PHP Collections: Array to Map

PHP Collections: Array to Map

7
Comments 2
5 min read
Functors and Monads in plain TypeScript

Functors and Monads in plain TypeScript

45
Comments
7 min read
Exercise - Array.prototype methods with reduce

Exercise - Array.prototype methods with reduce

37
Comments
7 min read
Slicing and Dicing Arrays in D

Slicing and Dicing Arrays in D

8
Comments
4 min read
Javascript reduce 101

Javascript reduce 101

89
Comments 7
4 min read
Toolkit - map / filter / reduce in arrays

Toolkit - map / filter / reduce in arrays

7
Comments
6 min read
Array in Javascript for Beginner

Array in Javascript for Beginner

7
Comments
4 min read
Evaluate all values in an array in Javascript

Evaluate all values in an array in Javascript

43
Comments 12
2 min read
Javascript Slice Vs Splice

Javascript Slice Vs Splice

15
Comments 4
3 min read
For loop ignoring first line, after first loop execution in C

For loop ignoring first line, after first loop execution in C

4
Comments
1 min read
Removing duplicates from a string in one planet-size JavaScript statement

Removing duplicates from a string in one planet-size JavaScript statement

6
Comments
2 min read
Initializing array with length

Initializing array with length

6
Comments
1 min read
Everything You Need to Know About Array#reduce

Everything You Need to Know About Array#reduce

90
Comments 12
10 min read
List of ways to merge arrays in javascript!

List of ways to merge arrays in javascript!

9
Comments
1 min read
Chunking Arrays in Javascript

Chunking Arrays in Javascript

11
Comments
2 min read
JavaScript Array Splice Issue

JavaScript Array Splice Issue

24
Comments 6
1 min read
Deli Counter Challenge

Deli Counter Challenge

9
Comments 3
4 min read
loading...