Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
JS exam part 2 - Missing Number
/****************************** Missing number ******************************/ function missingNumber(input) { // Your code here } /* Don't edit the following. It is for validating your code */ var a; while (a=readline()) {print(missingNumber(a.split(" ").map(el=>parseInt(el))))} // missingNumber([1,2,4]) => 3 // missingNumber([6,3,4]) => 5 // missingNumber([9,7,6,5]) => 8
run
|
edit
|
history
|
help
0
Looping Strings
Logical NOT in JavaScript
Time Waister
2-D Kinematics with accurate air drag
LazyListJS
empty
My first app
Error
Animal category
Palindrome