Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7415145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:14:29+00:00 2026-05-29T07:14:29+00:00

when reffering to 2d lists which is the correct way the rows/columns are ordered?

  • 0

when reffering to 2d lists which is the correct way the rows/columns are ordered? I am having trouble following some of the q&a on this site and others ….I always imagined it as the second way I show but idk?

[[a ,b, c],[d, e, f], [g, h, i], [j, k, l]]

is for easy visualization this?:

  • [a, b, c]
  • [d, e, f]
  • [g, h, i]
  • [j, k, l]

(making it 4 rows x 3 columns)

or this:

  • [a, d, g, j]
  • [b, e, h, k]
  • [c, f, i, l]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:14:30+00:00Added an answer on May 29, 2026 at 7:14 am

    neither way is “wrong,” as there is no right or wrong answer. rows and columns don’t have meaning until displayed in a certain way. in memory, it’s all stored linearly.

    syntactically, all that matters is that if your 2d array is called array, then array[0] is a 1-dimensional array, and array[0][0] is an item.

    however, it’s very unusual for it to be considered any way besides the first way, as in English we read left to right, top to bottom.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the specific example i am referring to is this site http://www.iamextreme.net/category.php?CategoryId=1&SubCategoryId=0&SortBy=name notice the sort
I have tried to do this refering to following link. http://skypher.com/index.php/2008/07/28/function-list-for-php/ But no success.
In the following code I'm rendering a list of projects, each item of which
I have a WPF (.NET 3.5) control which renders about 20000 rectangles. This MyControl
I'm having trouble refreshing a view after a form submit creates an Item on
I'm trying to find a way to list which objects a run-time object is
Guys, reffering to last post I'm trying to output data while template is instantiated
Is there anyway to grab the referring URL using javascript, lets say the reffering
I get this, clicking 'no' means the page displays flawlessly. it's refering to this
I want to write a following script: given a text file with the list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.