You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/content/part02/array.asc
+10-17
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,8 @@ TIP: Strings are a collection of Unicode characters and most of the array concep
17
17
18
18
.Fixed vs. Dynamic Size Arrays
19
19
****
20
-
Some programming languages have fixed size arrays like Java and C++. Fixed size arrays might be a hassle when your collection gets full, and you have to create a new one with a bigger size. For that, those programming languages also have built-in dynamic arrays: we have `vector` in C++ and `ArrayList` in Java. Dynamic programming languages like JavaScript, Ruby, and Python use dynamic arrays by default.
20
+
Some programming languages have fixed size arrays like Java and C++.
21
+
Fixed size arrays might be a hassle when your collection gets full, and you have to create a new one with a bigger size. For that, those programming languages also have built-in dynamic arrays: we have `vector` in C++ and `ArrayList` in Java. Dynamic programming languages like JavaScript, Ruby, and Python use dynamic arrays by default.
21
22
****
22
23
23
24
Arrays look like this:
@@ -275,30 +276,21 @@ To sum up, the time complexity of an array is:
275
276
|===
276
277
//end::table
277
278
278
-
==== Array Exercises
279
+
==== Interview Questions
280
+
(((Interview Questions, Arrays)))
279
281
282
+
// tag::array-q-rotate-left[]
280
283
1) Implement an efficient algorithm that rotate an array `a` an `k` number of times.
Copy file name to clipboardExpand all lines: book/content/preface.asc
+1-1
Original file line number
Diff line number
Diff line change
@@ -82,4 +82,4 @@ Measurement is the first step that leads to control and eventually to improvemen
82
82
83
83
Your feedback is very welcome and valuable. Let us know what your thoughts about this book — what you like or ideas to make it better.
84
84
85
-
To send us feedback, e-mail us at [email protected], send a tweet to https://twitter.com/iAmAdrianMejia[@iAmAdrianMejia], or using the hash tags `#dsaJS`, `#javascript` and `#algorithms`.
85
+
To send us feedback, e-mail us at [email protected], send a tweet to https://twitter.com/iAmAdrianMejia[@iAmAdrianMejia], or using the hash tag `#dsaJS`.
0 commit comments