DataWeave programming challenge #8: Sum all digits to get a 1-digit number
Create a DataWeave script to sum all the digits from the input payload until there's only one digit left.
Problems, puzzles, and real-world scenarios worked through end to end.
Create a DataWeave script to sum all the digits from the input payload until there's only one digit left.
Create a DataWeave script that will update all the values to uppercase, except the ones in which the field equals thisname.
Create a tail-recursive function to get the factorial of each positive number from the payload.
Reverse the order of the words in the given phrases. However, the punctuation signs stay in the same place.
Move the disks, one disk at a time, from tower A to tower C following the Tower of Hanoi puzzle rules.
Review each of the input phrases and find those that are palindromes. Then, retrieve the character count and sum the total characters.
Create a script to keep your score on a series of Rock Paper Scissors games. 0 if you lose, 3 if it's a draw, and 6 if you win.
Create a DataWeave script to add all the numbers separated by a paragraph. Then, retrieve the highest number.
See every category and topic on the blog or browse the tag directory.