sicp-ex-5.26



<< Previous exercise (5.25) | Index | Next exercise (5.27) >>


meteorgan

  
  
  
 (a) 
 n     total-pushes    maximum-depth 
 1        64                        10 
 2        99                        10 
 3      134                        10 
 so the maximum-depth is 10 
 (b) 
 total-pushes = 35*n + 29