• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

581
Views
What is the difference between a indexed linked list and a array list?

I am confused because both of these contain an index, so a indexed linked list has nodes and indexes? While array list only has indexes?

over 3 years ago · Santiago Trujillo
1 answers
Answer question

0

ArrayList is continuous representation of the data .

So if base addr is lets say 64 and you want a element at 4th index and size of each element is 4 bytes so by doing the math we can say at what memory addr to look for 4th index element . So we can land at up at the element directly

On the other hand Linked List we have to traverse node by node and by counting the numbers of node traversed .

SO index works for both of them.For arraylist we can access it directly but in Linked list we have to traverse the intermediate nodes

over 3 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error