Skip to content

A collection of introductory programming exercises implemented and tested in JavaScript.

License

Notifications You must be signed in to change notification settings

AleksArnau/js-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-exercises

A collection of introductory programming exercises implemented and tested in JavaScript.

README en Français

Exercises

Easy

  • Find the largest number in an array
  • Convert internationalization to i18n
  • Return multiplication tables for 10 as a string

Medium

  • Determine if a word is a palindrome
  • Sum of 0 to n for even/odd/all
  • Return a pyramid string with a height of n

Hard

  • Fizzbuzz with a start and end
  • Check if array contains duplicate int
  • Find the plurality elements from a list
  • Find the majority element from a list

Recursion

  • Calculate a factorial using iteration and recursion
  • Find the nth Fibonacci sequence number using iteration and recursion
  • Reverse a string using iteration and recursion

Harder

  • Check if a word is an anagram
  • Sort a list in place

Todos

About

A collection of introductory programming exercises implemented and tested in JavaScript.

Topics

Resources

License

Stars

Watchers

Forks