Powered by OpenAI Realtime
Learn to solve and explain coding problems out loud.
Build confidence on LeetCode-inspired problems with Allison and Tim, your voice AI coaches. Free, no sign-up.
JSpart1.js
Live
// Do these meetings conflict?
function hasConflict(meetings) {
meetings.sort((a,b) => a[0] - b[0]);
for (let i = 1; i < meetings.length; i++) {
if (meetings[i][0] < meetings[i-1][1]) {
return true;
}
}
return false;
} Connected
OUTPUT
Test 1: passed
Test 2: failed
Test 2: passed
🧑‍🏫Tim
Alright, meeting conflicts—how would you tackle this?
Sort by start, then scan for overlaps.
Nice. Check that boundary—off by one?
Part 1
[[7,10], [2,4]] → true
[[0,30], [5,10], [15,20]] → false
[[1,2], [2,3], [3,4]] → true
New Feature
The Top Problems. All here.
Blind 75. NeetCode 150. Grind 75.
Supercharged with Voice Mode.
Real code. Real tests.
Your code runs on Judge0—the engine behind many online code editors. Real compilation, real execution.
JSsolution.js
Connected
function hasConflict(meetings) {
meetings.sort((a,b) => a[0] - b[0]);
for (let i = 1; i < meetings.length; i++) {
if (meetings[i][0] < meetings[i-1][1])
return true;
}
return false;
} Run Code
Output
Test 1: [[7,10],[2,4]] → true
Test 2: [[0,30],[5,10]] → false
Test 3: [[1,2],[2,3]] → true
Executed in 0.8s · Memory: 12.4 MB
Not simulated
We actually compile and run your code.
Pick your language
Python, JavaScript, Go, Swift, Kotlin.
Coach knows what's failing
So it can actually help you debug.
Supported languages
PythonJavaScriptGoSwiftKotlin