Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 258 Bytes

Question_2621.md

File metadata and controls

12 lines (10 loc) · 258 Bytes

LeetCode Records - Question 2621 Sleep

Attempt 1:

async function sleep(millis) {
    return new Promise(resolve => setTimeout(resolve, millis));
}
  • Runtime: 42 ms (Beats: 95.52%)
  • Memory: 49.18 MB (Beats: 11.17%)