Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ Question2_4.py
File
Question2_4.py
python/Chapter 2/Question2_4.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
classes.LinkedList
import
*
2
3
def
partition(linkedlist, x):
4
if
linkedlist.head != None:
Callers
nothing calls this directly
Calls
2
randomLinkedList
Function · 0.85
partition
Function · 0.85
Tested by
no test coverage detected