Skip to content
Hands-On Challenges

Node.js Architecture Practice Problems

Master the Event Loop, Thread Pool offloading, Streams backpressure, and V8 memory management.

0 / 15 Solved
Problem #1Event Loop • Beginner

Microtask Queue Priority

What is the exact execution priority between process.nextTick, Promise.then, and setTimeout(..., 0)?

process.nextTick(() => console.log('A'));
Promise.resolve().then(() => console.log('B'));
setTimeout(() => console.log('C'), 0);
console.log('D');
Select the correct answer: