Skip to content

Commit 6966795

Browse files
SwastyyPanquesito7raklaptudirm
authored
Added one more Data Structure - Arrays (#111)
* arrays * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Apply suggestions from code review * Update en/Data Structures/Arrays/array.md Co-authored-by: Rak Laptudirm <[email protected]> * Update array.md * Update array.md * Update array.md * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update array.md * Update en/Data Structures/Arrays/array.md Co-authored-by: David Leal <[email protected]> * Update array.md Co-authored-by: David Leal <[email protected]> Co-authored-by: Rak Laptudirm <[email protected]>
1 parent 483bc89 commit 6966795

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

en/Data Structures/Arrays/array.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Arrays
2+
3+
Arrays are the most basic data structures used in programming. There are two types of arrays - static arrays and dynamic arrays. Static arrays contain a group of a fixed number of elements that occupy the same space in memory. I.e., the memory occupied is known at compile time whereas in the case of dynamic arrays the size is not fixed.
4+
The values of elements in an array can be retrieved very quickly in `O(1)` time.
5+
All arrays consist of contiguous memory locations. We can access the elements with their index. The lowest address corresponds to the first element, and the highest address to the last element.
6+
7+
# Source
8+
9+
- [Introduction to arrays - GeeksForGeeks](https://www.geeksforgeeks.org/introduction-to-arrays/)
10+
11+
# YouTube
12+
13+
- [YouTube URL tutorial video](https://youtu.be/NptnmWvkbTw)
14+
- [YouTube video for understanding Arrays in C++](https://youtu.be/ibeGtDEQGz0)

0 commit comments

Comments
 (0)