Category nodejs

Zigzag challenge

Zigzag

The Zigzag challenge Given an array of integers numbers, your task is to check all the triples of its consecutive elements for being a zigzag. More formally, your task is to construct an array of length numbers.length – 2, where…

Palindrome challenge

Palindrome

The Palindrome challenge The palindrome challenge is one of the most popular coding challenges in different coding exams at most software companies, especially at the big tech companies like Google, Microsoft, Facebook, Amazon, and more. What is a palindrome? The word/number…