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 3482802
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:36:04+00:00 2026-05-18T10:36:04+00:00

Algorithms by Robert Sedwick, It was mentioned that linked list can be represented using

  • 0

Algorithms by Robert Sedwick, It was mentioned that linked list can be represented using Arrays, at following link

http://flylib.com/books/en/3.55.1.34/1/

Fig 3.8, here if 5 is removed from my understanding next 4 should be changed to index 6 as val 5 is removed, as we go thourgh the figure at item 4 is removed next of val 3 is chaned. I am not following the logic of the figure. can aany one please help me.

Thanks!

  • 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-18T10:36:04+00:00Added an answer on May 18, 2026 at 10:36 am

    the index is zero-based as opposed to the value itself (letters would be better values).
    Example of removing the value 5: before removing, next index of the node with value 4 is 4, which points to value 5; after removing, next index is changed to 5, pointing to value 6 (next changed from 4 to 5).

    Or, using the prefix v to indicate values:

    before

        index ...  3  4  5 ...
        ----------------------
        value     v4 v5 v6
        next       4  5  6
    

    after

        index ...  3  4  5 ...
        ----------------------
        value     v4 v5 v6
        next       5  5  6  
    

    as you can see the node v4 is followed by v6 (index 5) practically removing v5 from the chain.

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

Sidebar

Related Questions

I'm going over the following book - http://www.amazon.com/Algorithms-4th-Robert-Sedgewick/dp/032157351X and one of the sections talks
I have the following code from a book about Algorithms by Robert Sedwick. How
I am reading a book by Robert Sedwick Algorithms in C++. Following is example
I am reading Algorithms book written by Robert Sedwick. Note: s is source and
Where can I find algorithms that values the spelling of misplaced characters more accurately
Are there any algorithms that can help with hierarchical clustering? Google's map-reduce has only
Are there any algorithms or tools that can increase the resolution of an image
Are there known algorithms that can detect image degradation programatically without looking at the
Which algorithms or data structures are used in auto-suggest features? It seems that edit-distance
Are there any compression algorithms -- lossy or lossless -- that have been specifically

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.