Data structure is way in which we store data and the relationship among them and the functions or operations that can be applied to. In this tutorial, we will see each data structure one by one. Will solve few problems for the same.
Array can be accessed with index based mechanism, where 0 pointing to first element and n-1 pointing to the last element, n being the size of array.
Lets call this array as "myfirst", so myfirst of 0 will be 10, myfirst of 1 will be 11. Where 0 and 1 are index positions.
Now lets see how to create an array in java and python and access it's element.
/*** Example shows how to create an array and access its element randomly* @author gaurawkumarsingh**/
Lets see now multi dimensional array
/*** Class help in learning multi diemensinal array* @author gaurawkumarsingh**/
Array can be accessed based on indexes, time complexity is O(1)
/*** Access Element based on index* @author gaurawkumarsingh**/