Technical2026-08-12
Implement my_malloc and my_free functions to manage a 32-bit hardware register-based memory pool with 32 rows of 64 bits each. The functions should handle allocation and deallocation of memory within this pool.
Context & Summary
Candidates were asked to implement memory management functions for a hardware register-based memory pool. The problem involved writing my_malloc and my_free functions for a 32-row memory pool and then extending the solution to a 64-row pool using 32-bit registers.
💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.
Loading editor...
AI can automatically infer and generate example test cases for this question based on standard algorithmic constraints.
InterviewDigest