Previous Daily Questions

All daily questions that have been asked in the past.

Want to see more questions?

No tags found

You're building a task queue that processes items in batches. What will be the final state of the processed array?

Loading stats...

Not Answered

Async programmingPromisesArrays+1
Medium2025-01-18
In a web analytics tool, you need to track user interactions. What will be logged after these interactions are processed?

Loading stats...

Not Answered

Event trackingArraysReduce+1
Hard2025-01-17
You're debugging an array manipulation utility. What will be the final result of this array transformation?

Loading stats...

Not Answered

ArraysFilterMap+2
Medium2025-01-16
Working on a notification system, you need to format user messages. What will be the output of this formatting utility?

Loading stats...

Not Answered

String manipulationDate formattingStatic methods
Easy2025-01-15
While optimizing a web application's performance, you need to implement request batching. What will be logged after processing these requests?

Loading stats...

Not Answered

Async programmingQueuesBatching+1
Hard2025-01-14
Your team's data visualization dashboard needs to process time series data. What will be the final transformed output of this data processor?

Loading stats...

Not Answered

AlgorithmsData processingStatic methods
Hard2025-01-13
Your e-commerce platform needs to calculate discounts based on multiple promotions. What total price would a customer pay for their cart using this promotion calculator?

Loading stats...

Not Answered

Class methodsJavascript
Medium2025-01-12
During a client meeting, your team discovers the authentication system isn't properly handling token expiration. What would be the output when testing this token validator?

Loading stats...

Not Answered

AuthenticationTimingClosures+1
Easy2025-01-11
You're debugging a shopping cart implementation where prices are acting strangely. What surprising behavior might occur with this code?

Loading stats...

Not Answered

Object referencesMapsMutability
Medium2025-01-10
In a real-time chat application, you need to implement rate limiting for message sending. What will be the maximum number of messages a user can send in any 5-second window using this implementation?

Loading stats...

Not Answered

Rate limitingAsync programmingQueues+1
Hard2025-01-09
Your team is troubleshooting a memory leak in a long-running application. Hidden in this event subscription module is a common mistake that can lead to memory leaks. Can you spot the issue?

Loading stats...

Not Answered

Memory managementWeak referencesEvent handling+1
Medium2025-01-08
You're building a caching system for an e-commerce platform that needs to store product data but automatically expire old entries. What will be the output of the following code when run?

Loading stats...

Not Answered

CachingTimersMap+2
Hard2025-01-07
A startup is building a user engagement tracking system. When users hover over different UI elements, you need to track the total time they spend on each element. What's wrong with this implementation?

Loading stats...

Not Answered

ClosuresState management
Medium2025-01-06
You're developing a custom state management solution for a complex web application. The system needs to track state changes and allow for time-travel debugging. What will be the final state after executing the following code?

Loading stats...

Not Answered

State managementReducersImmutability
Hard2025-01-05
You are tasked with finding the most common element in an array. Which of the following code snippets correctly accomplishes this?

Loading stats...

Not Answered

ArraysReduceAggregation
Hard2025-01-04