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