Skip to content

Instantly share code, notes, and snippets.

View JeevanJain's full-sized avatar
🏠
Working from home

Jeevan JeevanJain

🏠
Working from home
  • @ Arzooo
  • Banglore
View GitHub Profile
@JeevanJain
JeevanJain / 1-TimeComplixity.md
Last active February 15, 2024 06:44
Detailing Array
Operation Time Complexity
Access O(1)
Search O(n)
Insertion O(n)
Deletion O(n)
@JeevanJain
JeevanJain / Arrays.md
Last active February 14, 2024 18:46
JavaScript DataStructure

Arrays


  • An array is a data structure that stores a collection of elements, each identified by an index or a key.

  • Arrays provide a way to organize and access elements in a sequential manner.

  • Array indices in JavaScript start at 0. The first element is accessed using index 0, the second with index 1, and so on.

const arr = ['a', 'b', 'c', 'd'];
console.log(arr[1]); // b
@JeevanJain
JeevanJain / GitCommitEmoji.md
Created February 21, 2020 20:22 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji