#Question of the Day

Q1 : What is the benefit of using Array inside of Normal list ?

Q2 : Can we pass any other sequence inside list while creating a Array means can we pass a dict or set ??


  1. You can access position elements effectively because arrays give you random access to elements.
    This is more efficient than data structures with sequential access, which only allows you access to the values in a particular order

*When we require a multidimensional structure to store the data then we use arrays over lists as lists can be one dimensional only.
*If we require fixed length and static allocation then, arrays are used over lists.
*When the faster processing of data is required then arrays are used over lists.

  1. Yes we can pass.