Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 227831

Object-oriented programming is a programming paradigm using "objects": data structures consisting of data fields and methods together with their interactions.

6 votes
3 answers
868 views

Data-type implementation for rational numbers

This is exercise 3.2.7. from the book Computer Science An Interdisciplinary Approach by Sedgewick & Wayne: Implement a data type for rational numbers that supports addition, subtraction, multiplicatio …
Khashayar Baghizadeh's user avatar
8 votes
1 answer
358 views

Data-type implementation for axis-aligned rectangles

This is exercise 3.2.1. from the book Computer Science An Interdisciplinary Approach by Sedgewick & Wayne: Consider the following data-type implementation for axis-aligned rectangles, which represent …
Khashayar Baghizadeh's user avatar
1 vote
1 answer
85 views

Simplifying data-type implementation for axis-aligned rectangles using data-type implementat...

This is exercise 3.2.8. from the book Computer Science An Interdisciplinary Approach by Sedgewick & Wayne: Write a data type Interval that implements the following API: An interval is defined to be …
Khashayar Baghizadeh's user avatar
3 votes
1 answer
76 views

Data-type implementation for multiple dynamic histograms

This is almost exercise 3.2.14. from the book Computer Science An Interdisciplinary Approach by Sedgewick & Wayne (since I am self-studying, I changed it a little bit): Develop a version of Histogram …
Khashayar Baghizadeh's user avatar