V School | Better Humans, Better Outcomes

Warmup - Squirrel Play

The squirrels in Palo Alto spend most of the day playing. In particular, they play if the temperature is between 60 and 90 (inclusive). Unless it is Summer, then the upper limit is 100 instead of 90. Given an int temp and a boolean isSummer, return true if the squirrels

Merge Sort

Using the url below and looking at its explanation and code example, create your own Javascript Merge Sort. Don't find a javascript solution on the Internet. Try and analyze the code in that website to solve the problem. http://interactivepython.org/runestone/static/pythonds/SortSearch/TheMergeSort.html

Prime Numbers

Write a JavaScript function to get all prime numbers from 0 to a specified number.

Warmup - Roman Numerals

Write a JavaScript function that Convert an integer into a Roman Numeral in javaScript.

Warmup - Greatest Common Divisor

Write a JavaScript function to find the GCD (greatest common divisor) of more than 2 integers. Test Data: console.log(gcd_more_than_two_numbers([3,15,27])); console.log(gcd_more_than_two_numbers([5,10,15,25])); Output : 3 5

V School | Better Humans, Better Outcomes © 2026