Skip to content

Bornmajor/teach2give-entry-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teach2Give Coding Assessment

Interviewee: Osborn Maja

Question 1: Count vowels

Write a function named countVowels that takes a single string as input and returns the number of vowels present in the string. The vowels are 'a', 'e', 'i', 'o', and 'u', and they can be either uppercase or lowercase.

Answer inside countVowels js file in root directory.

Question 2: Reverse string

Write a function named reverseString that takes a single string as input and returns a new string with the characters in reverse order.

Answer inside reverseString js file in root directory.

Question 3: Filter even numbers:

Write a function named filterEvenNumbers that takes an array of numbers as input and returns a new array containing only the even numbers.

Answer inside filterEvenNumbers js file in root directory

All answers inside Index js file in root directory

About

Teach2Give coding assessment solution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published