Jump to content

Data structures


Nandhini

Recommended Posts

4 hours ago, Nandhini said:

What is linear array in data structures? What is the advantage of linear array?

Did you read the reply to your previous thread:

On 6/9/2020 at 10:25 AM, Dagl1 said:

Other people will give you much better answers (or provide more information). Have you looked at https://www.w3schools.com/php/php_arrays_multidimensional.asp (first link that came up, the language (PHP) does not matter to understand multi dimensional arrays)?

An array contains a collection of elements, such as integers, strings and booleans.

Let's say we have: Array = [1,2,3,4]

Then Array[0] = 1 and Array[2] = 3 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.