MCPcopy Index your code
hub / github.com/geekcomputers/Python / DLL

Class DLL

BrowserHistory/backend.py:1–11  ·  view source on GitHub ↗

a doubly linked list that holds the current page, next page, and previous page. Used to enforce order in operations.

Source from the content-addressed store, hash-verified

1class DLL:
2 """
3 a doubly linked list that holds the current page,
4 next page, and previous page.
5 Used to enforce order in operations.
6 """
7
8 def __init__(self, val: str = None):
9 self.val = val
10 self.nxt = None
11 self.prev = None
12
13
14class BrowserHistory:

Callers 2

__init__Method · 0.85
visitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected