0
How can learn and understand array easily
Array questions
2 Respuestas
+ 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.