Interview Hack
Home
About
Games
Levels
Python Quiz - Level 7
1. Algo for strongly connected comps?
Dijkstra
Kruskal
Kosaraju
Prim
2. Python GIL prevents?
Memory leaks
Multiple processes
Threads exec bytecode at once
Block recursion
3. Median of Medians complexity?
O(n log n)
O(log n)
O(n)
O(n^2)
4. Python metaclasses?
Only attrs
No modify creation
Only C-ext
Define behavior + modify creation
5. Phantom read in DB?
Row deleted
Duplicate rows
New rows by insert
Row locked
6. Copy-on-write purpose?
Prevent leaks
Shared mem safely
Delay copy until mod
Auto free mem
7. Post-quantum secure scheme?
RSA
ECC
Lattice-based
Diffie-Hellman
8. NP-complete class?
O(1) solvable
Poly-time solvable
In NP & hardest
Quantum only
9. Lamport Timestamps idea?
Sync real clocks
Simultaneous exec
Logical order no real clocks
Skip consensus
SUBMIT EXAM