Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 951 Bytes

Day1.md

File metadata and controls

30 lines (16 loc) · 951 Bytes

Day 1 Challenges

Use Javascript to solve fun problems! Head over to JSBin to get started.

Easy

  1. Use Javascript to generate the first N numbers of the Fibonacci sequence

1, 1, 2, 3, 5, 8, ...

  1. Use Javascript to calculate the factorial of a number

factorial(5) = 5 x 4 x 3 x 2 x 1

  1. Use Javascript to calcualte how well you'll have to do on finals to raise your grade 📉

Hard

  1. Use Javascript to convert text from English to Pig Latin 🐖

http://web.ics.purdue.edu/~morelanj/RAO/prepare2.html

  1. Use Javascript to check if a word is a palindrome

racecar; kayak; A man, a plan, a canal, Panama

  1. Use Javascript to verify if a number is prime

  2. Write a program to calculate the first N digits of π

  3. Implement an array sort algorithm of your choice in Javascript (Bubble Sort, Quicksort, Insertion Sort, Bogosort, etc.)