We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdb09f6 commit 5929621Copy full SHA for 5929621
pydatastructs/utils/misc_util.py
@@ -260,6 +260,24 @@ def __str__(self):
260
return str((self.key, self.data))
261
262
class SkipNode(Node):
263
+ """
264
+ Represents node in linked lists.
265
+
266
+ Parameters
267
+ ==========
268
269
+ key
270
+ Any valid identifier to uniquely
271
+ identify the node in the skip list.
272
+ data
273
+ Any valid data to be stored in the node.
274
+ next
275
+ Reference to the node lying just forward to the current node.
276
+ Optional, by default, None.
277
+ down
278
+ Reference to the node lying just below the current node.
279
280
281
282
__slots__ = ['key', 'data', 'next', 'down']
283
0 commit comments