• Home
  • Textbooks
  • Computer science with Mathematica: theory and practice for science, mathematics, and engineering
  • Object-Oriented Programming

Computer science with Mathematica: theory and practice for science, mathematics, and engineering

Roman Maeder

Chapter 14

Object-Oriented Programming - all with Video Answers

Educators


Chapter Questions

Problem 1

Implement binary trees (Section 6.3) as an indexed collection (Section 14.4). The nodes should have a key and value field each.

Check back soon!

Problem 2

Different Implementations of Dictionaries
Implement the class dictionary in another way than was done in Listing 14.4-7. Here are a few possibilities:
1. Using binary trees (see Section 6.3)
2. As an ordered list (see Section 6.1.3)
3. Your own idea

Check back soon!