import this
in pythonc lets you read the Zen of Python. You can read "not a chance" if you import what?Code:import this
Again in python, what datatype is hashable AND has a union method?
How would you optimize this statement for web scale?
print eval('+'.join(map(str, [1, 1])))
couple questions i used to ask in interviews:
describe three methods of implementing coroutines in C (with asm obviously).
estimate performance of lock-free vs traditional b-tree implementations in a multithreaded context on a modern x86 architecture
not expecting answers here, mind you
-p
Interviews for what position?
^^ looks like OS/Embedded Systems engineering.