Find Jobs
Hire Freelancers

binary tree and overlapping rectangles

$15-20 USD

Completed
Posted over 18 years ago

$15-20 USD

Paid on delivery
1. Implement the following C++ function to determine if 2 rectangles overlap or touch each other. The rectangles run parallel to the x and y axes. |- width -| _________ _ | | | | | |- height |_________| _| (x,y) struct Rectangle { // Coordinates of bottom left corner int x, y; int height, width; }; bool RectanglesOverlap(const Rectangle &r1, const Rectangle &r2); 2. Implement the following C++ function to printf all the values of the binary tree nodes at the specified depth from the root. An iterative solution is preferred over a recursive one. struct TreeNode { int value; TreeNode *leftChild; TreeNode *rightChild; TreeNode *parent; }; void PrintTreeLevel(const TreeNode *root, int depth); ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform c++
Project ID: 3249809

About the project

19 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$2 USD in 1 day
5.0 (2 reviews)
1.1
1.1
19 freelancers are bidding on average $12 USD for this job
User Avatar
See private message.
$17 USD in 1 day
5.0 (124 reviews)
9.1
9.1
User Avatar
See private message.
$8.50 USD in 1 day
4.9 (159 reviews)
5.8
5.8
User Avatar
See private message.
$12.75 USD in 1 day
4.9 (60 reviews)
5.0
5.0
User Avatar
See private message.
$12.75 USD in 1 day
4.9 (28 reviews)
4.7
4.7
User Avatar
See private message.
$12.75 USD in 1 day
4.8 (37 reviews)
4.5
4.5
User Avatar
See private message.
$17 USD in 1 day
5.0 (40 reviews)
4.4
4.4
User Avatar
See private message.
$17 USD in 1 day
4.8 (54 reviews)
4.1
4.1
User Avatar
See private message.
$8.50 USD in 1 day
5.0 (5 reviews)
3.2
3.2
User Avatar
See private message.
$17 USD in 1 day
5.0 (11 reviews)
3.3
3.3
User Avatar
See private message.
$17 USD in 1 day
3.7 (4 reviews)
3.0
3.0
User Avatar
See private message.
$4.25 USD in 1 day
5.0 (9 reviews)
2.3
2.3
User Avatar
See private message.
$12.75 USD in 1 day
4.7 (2 reviews)
2.2
2.2
User Avatar
See private message.
$12.75 USD in 1 day
5.0 (5 reviews)
1.6
1.6
User Avatar
See private message.
$17 USD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$11.05 USD in 1 day
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
New York, United States
0.0
0
Member since Jan 30, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.