λ³Έλ¬Έ λ°”λ‘œκ°€κΈ°

University of California, Berkeley/ElectricalEngineering & ComputerSciences

LAB_day 3

Structure of Recursion: Base case

-   Base case(s) : simple problems that we have answers to trivially

-   Base case(s) stops the program from going to

Case study _ factorial

Q What is the simplest case that I know the answer to ?

A 0! is 1 by definition. 1! is also 1 by definition

Is there any simple

'University of California, Berkeley > ElectricalEngineering & ComputerSciences' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€

Sequence & Data Abstraction  (0) 2019.07.09
Week 3  (0) 2019.07.09
Recursion Examples  (0) 2019.07.04
textbook _ final  (0) 2019.07.03
textbook _ mid  (0) 2019.07.03