CS 32 Homework 3 FAQ

CS 32 Homework 3 FAQ - firstEmpty using anyEmpty try...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Winter 2009 CS 32 Homework 3 FAQ In Problem 2, can one function call another? For example, can firstEmpty call anyEmpty ? ? Yes, but you don't need to — each of the functions can be correctly and efficiently implemented without calling any of the other functions. In particular, if you implement
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: firstEmpty using anyEmpty , try tracing through an execution of a call to firstEmpty with a ten-element array containing just one empty string, in position 8, and see how much redundant work is done....
View Full Document

This note was uploaded on 11/07/2009 for the course CS 32 taught by Professor Davidsmallberg during the Winter '08 term at UCLA.

Ask a homework question - tutors are online