Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ Question2_7.py
File
Question2_7.py
python/Chapter 2/Question2_7.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
classes.LinkedList
import
*
2
3
# Iterative approch
4
def
isPalindrome_iter(linkedlist):
Callers
nothing calls this directly
Calls
6
randomLinkedList
Function · 0.85
isPalindrome_iter
Function · 0.85
isPalindrome_recu
Function · 0.85
isPalindrome
Function · 0.70
LinkedList
Class · 0.50
addNode
Method · 0.45
Tested by
no test coverage detected