Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
morpher
on March 6, 2013
|
parent
|
context
|
favorite
| on:
Solving Problems Using Data Structures
The OP is talking about a list with at most five items in it. Linear search is not an issue. Using a dict may even be slower than just searching a 5 element array linearly...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: