Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Mordechai Ben-Ari

Have students use a recursive algorithm to solve the problem of only eating the squares of a chocolate bar that contain nuts to introduce recursive algorithms for arrays.

Share Have students use a recursive algorithm to solve the problem of only eating the squares of a chocolate bar that contain nuts to introduce recursive algorithms for arrays. with FacebookShare Have students use a recursive algorithm to solve the problem of only eating the squares of a chocolate bar that contain nuts to introduce recursive algorithms for arrays. with Twitter

Introduce recursion using the example of opening a present wrapped in several layers of wrapping paper.

Share Introduce recursion using the example of opening a present wrapped in several layers of wrapping paper. with FacebookShare Introduce recursion using the example of opening a present wrapped in several layers of wrapping paper. with Twitter
Subscribe to Mordechai Ben-Ari
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College