How To Add Two Numbers Represented As Linked Lists
By iterating digit by digit, and calculating the sum and carry, it handles scenarios for the lengths of the input lists and any remaining carry values
Dec 12, 20233 min read136

Search for a command to run...
Articles tagged with #data-structures
By iterating digit by digit, and calculating the sum and carry, it handles scenarios for the lengths of the input lists and any remaining carry values

How to merge two linked lists

An implementation for a simple hash set

Graph Coloring by Depth First Search

Using std::vector as a std::stack

An example of using std::priority_queue
