No Longer Set
  • Home
  • Topics
  • Code Library
  • Tags
  • About
Subscribe
Tagged

Reader Challenge

A collection of 3 posts

Calculating Gift Counts for "The Twelve Days of Christmas": Recursion Edition
Reader Challenge

Calculating Gift Counts for "The Twelve Days of Christmas": Recursion Edition

In the second solution to my recent reader challenge, I use recursion to calculate the cumulative number of gifts given for each day of the "12 Days of Christmas."

  • Mike Wolfe
Mike Wolfe Dec 23, 2022 • 2 min read
Calculating Gift Counts for "The Twelve Days of Christmas": Looping Edition
Reader Challenge

Calculating Gift Counts for "The Twelve Days of Christmas": Looping Edition

In the first solution to my recent reader challenge, I use a loop to calculate the cumulative number of gifts given for each day of the "12 Days of Christmas."

  • Mike Wolfe
Mike Wolfe Dec 22, 2022 • 2 min read
Reader Challenge: Write a Formula to Calculate Gift Totals in "The Twelve Days of Christmas"
Reader Challenge

Reader Challenge: Write a Formula to Calculate Gift Totals in "The Twelve Days of Christmas"

How many total gifts does one's true love deliver by the nth day of Christmas? It's a deceptively tricky problem to solve.

  • Mike Wolfe
Mike Wolfe Dec 21, 2022 • 3 min read
No Longer Set © 2023
Powered by Ghost