How can learn and understand array easily | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can learn and understand array easily

Array questions

23rd Nov 2019, 11:13 AM
Micheal Kamau
Micheal Kamau - avatar
2 Answers
+ 1
Micheal Kamau look arrays as storage places which can store multiple variables but of similar type. Once you get this then according to your language of choice kindly try to attempt these questions. 1) copy elements of one array into another array. 2) find the largest, smallest and average of the array. Also you can find the sum of array elements. 3) find an element in the array and return it's position in the array. Now jump on to 2-D arrays 4) matrix addition, subtraction, multiplication. 5) transpose of matrix. 6) rotate a given matrix by various angles, for eg-90,180,270 degrees. You can find more on internet.
23rd Nov 2019, 11:28 AM
Avinesh
Avinesh - avatar
23rd Nov 2019, 11:17 AM
Chetali Shah
Chetali Shah - avatar