When would you use useState versus useReducer in React? — Two Sigma interview
Reported in Two Sigma USA engineering loops. React hooks question on local state complexity and predictable updates.
Interview atlas
Explore 4,505 curated Q&As across 124 employers — filter by career stage, round, or company.
Reported in Two Sigma USA engineering loops. React hooks question on local state complexity and predictable updates.
Reported in Two Sigma USA engineering loops. Python-specific question on threading limits and multiprocessing alternatives.
Reported in Two Sigma USA engineering loops. Core JavaScript concurrency model question for frontend and Node.js roles.
Reported in Two Sigma USA engineering loops. Java-specific collections question on buckets, hashing, and resize behavior.
Reported in Two Sigma USA engineering loops. Testing strategy question covering pyramid, mocks, and confidence vs speed.
Reported in Two Sigma USA engineering loops. DevOps fundamentals for mid-level engineers discussing automation and quality gates.
Reported in Two Sigma USA engineering loops. Architecture trade-off question for mid-level backend and platform roles.
Reported in Two Sigma USA engineering loops. API design question covering resources, HTTP semantics, and versioning.
Reported in Two Sigma USA engineering loops. Behavioral STAR question assessing collaboration and conflict resolution.
Reported in Two Sigma USA engineering loops. System design testing token bucket, sliding window, and Redis coordination.
Reported in Two Sigma USA engineering loops. Foundational system design covering APIs, encoding, storage, and read-heavy scaling.
Reported in Two Sigma USA engineering loops. Graph algorithm for non-negative edge weights using priority queue.
Reported in Two Sigma USA engineering loops. Classic DP testing tabulation, space optimization, and item selection reconstruction.
Reported in Two Sigma USA engineering loops. Hash map plus doubly linked list problem bridging DSA and system components.
Reported in Two Sigma USA engineering loops. Introductory dynamic programming problem isomorphic to Fibonacci.