Problem Statement
What are the two types of API functions in Node.js?
Explanation
Node.js provides asynchronous (non-blocking) and synchronous (blocking) APIs. Asynchronous APIs allow other code to execute while waiting for results, whereas synchronous APIs block the event loop until completion.