-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjavascript.js
50 lines (38 loc) · 935 Bytes
/
javascript.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* What is the difference?
*/
var a;
let b;
const c;
/**
* Write a function that prints the numbers from 1 to 100.
* But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”.
* For numbers which are multiples of both three and five print “FizzBuzz”.
*/
function fizzBuzz() {
}
/**
* Implement a linked list
*
*/
/**
* Write a function that finds the Greatest Common Divisor
* for two inputs.
*
* greatestCommonDivisor(14, 21) === 7
**/
function greatestCommonDivisor(a, b) {
}
/**
* Write a function that finds the missing number in an unsorted array
* The array will contain numbers 1-99, with one missing.
* Return the missing number.
*/
function missingNumber(array) {
}
/**
* Write a function that returns the angle between the hour and minute
* hands on a clock, for any given time.
*/
function angleForTime(hours, minutes) {
}