March 2019
Intermediate to advanced
336 pages
9h 9m
English
An unordered list is implemented as a linked list. In an unordered list, the relative positions of items in contiguous memory don't need to be maintained. The values will be placed in a random fashion.
An unordered list starts with a <ul> tag in HTML 5.0. Each list item is coded with <li> tags. Here's an example:
<ul> <li> First book </li> <li> Second book </li> <li> Third book </li></ul>
The following is an example of an unordered list in Golang. The Node class has a property and a nextNode pointer, as shown in the following code. The linked list will have a set of nodes with a property attribute. The unordered list is presented in the script called unordered_list.go:
//main package has examples shown// in Hands-On Data Structures ...
Read now
Unlock full access