-
Print Odd Numbers
- Prints odd numbers in an array.
-
Convert Strings to Title Caps
- Converts strings in a string array to title caps.
-
Sum of Numbers
- Calculates the sum of numbers in an array.
-
Return Prime Numbers
- Returns prime numbers in an array.
-
Return Palindromes
- Returns palindromes in an array.
-
Median of Sorted Arrays
- Calculates the median of two sorted arrays.
-
Remove Duplicates
- Removes duplicates from an array.
-
Rotate Array
- Rotates an array by a given number of times.
-
Print Odd Numbers
- Prints odd numbers in an array using arrow functions.
-
Convert Strings to Title Caps
- Converts strings in a string array to title caps using arrow functions.
-
Sum of Numbers
- Calculates the sum of numbers in an array using arrow functions.
-
Return Prime Numbers
- Returns prime numbers in an array using arrow functions.
-
Return Palindromes
- Returns palindromes in an array using arrow functions.
Usage: Run each JavaScript file in a Node.js environment to execute the corresponding program. Example: node print_odd_numbers.js
.