Challenge Level - Easy, Language - JavaScript, Testing Framework - Jest, Editor - Visual Studio Code
Problem:
Have the function QuestionsMarks(str) take the str string parameter, which will contain single digit numbers, letters, and
question marks, and check if there are exactly 3 question marks between every pair of two numbers that add up to 10. If so,
then your program should return the string true, otherwise it should return the string false. If there aren't any two numbers
that add up to 10 in the string, then your program should return false as well.
For example: if str is "arrb6???4xxbl5???eee5" then your program should return true because there are exactly 3 question marks
between 6 and 4, and 3 question marks between 5 and 5 at the end of the string.
Solution:
https://gist.github.com/judearasu/90f...
TestCase:
https://github.com/judearasu/letsCode...
Sur cette page du site, vous pouvez voir la vidéo en ligne Question Marks - Coding Challenge durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur JunkCast7 05 avril 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,720 fois et il a aimé 7 téléspectateurs. Bon visionnage!