Javascript Developer Interview Coding Challenges

preview_player
Показать описание
Javascript Developer Interview Coding Challenges

Q1 - Fizz Buzz
Write a program 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".

Q2 - Duplicates
With an array of integers between 1 and X, you know there's at least one duplicate number.
Write a function for finding any duplicate.

Q3 - Anagrams
Write a function to determine if two strings are anagrams.
An anagram is defined as a string which has the same number of
characters in the same frequency as another string.

For example, “car” and “arc” are anagrams, but “car” and “rat” are not.

Tags
javascript, developer, interview coding challenges,
full-stack, software engineer, IT tech interview, technical, hacker rank, code wars,coding,
Рекомендации по теме
visit shbcf.ru