Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Make Linked Lists and Hash Tables without Sprites

    Functions
    2
    2
    348
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LucasJG25 last edited by LucasJG25

      I've been trying to do this for a while now. But it's finally done!
      The Linked List data structure -- based on my own architecture -- is able to handle any number of inputs without the reliance on recursion, which capped the Linked List size to around 30 items.

      As I'm doing this iteratively the downside to this is the amount of time it takes to add to the end of the Linked List as it grows bigger. This data structure is ideal for small amounts of data that needs to be stored and manipulated with ease, mainly, removing the last and first items of the Linked List.

      The Hash Table can also be made in Fuze, utilizing the stringHash() function. Using this with the Linked Lists enables a fast way to store and retrieve data with strings as the key mapped to that data. The max size of the Hash Table is 255 elements which also has a Linked List inside of each element.

      The Download code is DZTL2MND9K
      Hope these data structures prove useful!

      1 Reply Last reply Reply Quote 8
      • vinicity
        vinicity F last edited by

        Nice! This will be very useful!

        1 Reply Last reply Reply Quote 1
        • First post
          Last post