CS241: Spring 2015 -- Lecture 21, debugging, fib, and review
- Administrivia
- Exam Friday!
- Jury duty for me 3/12
- Finish/demo lab today! (so you can have time to study/review)
- Exam practice: Write a method that is passed a String (composed only of digits), and returns an ArrayList<Integer> with all the digits, least signficant first.
- Finishing up fib(1000) -- a homemade BigInt class
- arbitrarly big ints
- representation: list of digits; smallest first
- operations:
- new
- add(BigInt) -- what might go wrong
- this is shorter
- that is shorter
- same length?
- toString
- Testing before use!!
- Review