Javascript Ninjas
Easy 2 point Medium 4 points Hard 6 points Ninja 10 points

Question Type Level Solve
Write a function that finds the intersection of two arrays containing common elements? Array Medium Solve
Write a function that finds the missing number in an array containing n-1 elements ranging from 1 to n? Array Medium Solve
Write a function that finds the element that appears more than n/2 times in an array? Array Medium Solve
Write a function that finds the minimum number from the list of numbers? Array Medium Solve
Write a function that joins the two given lists into a single list? Array Easy Solve
Write a function to calculate the length of the given list? Array Easy Solve
Write a function that takes an array and an integer k, and returns the maximum sum of any subarray of size k with all distinct elements? Array Hard Solve
Write a function that takes an array of integers and returns the length of the longest subarray with sum equal to zero? Array Hard Solve
Write a function that takes an integer array and returns the smallest missing positive number? Array Medium Solve
Write a function that takes an array and returns the maximum product of any two elements? Array Medium Solve



Level Up Your JavaScript Skills

Train Like a Ninja. Code Like a Pro.

Welcome to JavaScript Ninjas — the ultimate playground for mastering JavaScript through hands-on coding. Whether you're just getting started or sharpening your blade, our interactive challenges, live coding playground, and real-time feedback will push your skills to the next level. Write, run, and test JavaScript directly in your browser. Learn by doing. Solve real problems. Become the JavaScript Ninja you were born to be.