Find Jobs
Hire Freelancers

Strokes to paint

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
Java code(Algorithm) Alex wants to paint a picture but hates taking the brush off the canvas. In one stroke, Alex can only paint the same colored cells which are joined via some edge. Given the painting, determine the minimum number of strokes to completely paint the picture. Take for example, the canvas with height given by h = 3 and width given by w = 5 is to be painted with picture picture=["aabba", "aabba", "aaaca"], the diagram below shows the 4 strokes needed to paint the canvas.
Project ID: 18999854

About the project

2 proposals
Remote project
Active 5 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
hello, warm greetings! I am a Java developer working on Java technology since 7+ years having hands on windows and web development experience. I would like to help in your application development. It would be better if you can share more details about it if you are interested. Please message me to discuss more about the requirements. looking for your positive response. Thanks Namit
$30 USD in 1 day
4.9 (29 reviews)
4.3
4.3
2 freelancers are bidding on average $24 USD for this job
User Avatar
Hi I have a good 6 years of experience working for various MNCs as a software developer and I am well versed in Java. If you can provide the complete problem description (along with the diagram that the problem statement talks about) then I can get it done for you very quickly.
$18 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
phoenix, arizona, United States
5.0
1
Payment method verified
Member since Mar 20, 2019

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.