Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/azl397985856/leetcode
/ three-doors-problem.js
File
three-doors-problem.js
daily/answers/three-doors-problem.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// true 代表换之后赢了
2
// false 代表换了之后输了
3
function
threeDoors() {
4
const
doors = [0, 0, 1];
Callers
nothing calls this directly
Calls
1
threeDoors
Function · 0.85
Tested by
no test coverage detected