#trying leetcode, what is a node?

11 messages · Page 1 of 1 (latest)

solid trellis
#

Constraints:

The number of nodes in each linked list is in the range [1, 100].
0 <= Node.val <= 9
It is guaranteed that the list represents a number that does not have leading zeros.

frail dock
#

A node in a linked list can be thought of as a container that holds a value and a pointer to the next node

frail dock
#

Something like this

solid trellis
frail dock
#

I do not recommend doing leetcode without some foundational understanding of data structures and algorithms

solid trellis
frail dock
#

Peep my opinion on projects vs leetcode for learning purposes