Find Jobs
Hire Freelancers

Haskell simple source code

$10-20 USD

Closed
Posted about 6 years ago

$10-20 USD

Paid on delivery
Hi, I just need a code that generates all ternary trees of depth n in Haskell. A generated tree should be output in one line on console, such as the following example (or anything else that is obvious): R-101 001 001-110 000 111 000 000 011 000 000 001 Remember, I want ALL generrated trees, not just one random tree The above example, if I output it in multiple lines would probably make more sense: R 101 001 001 110 000 111 000 000 011 000 000 001 Each "1" represents a node, while "0" represents no node. Notice that the root is always R, a single node. The above example is a simple ternary tree. from the next depth below the node, we always have N bits of 0 or 1, because it's all the possibilities. I don't need the formula to count it, because the formula is obvious and I have it. I just need the one-line string outputs for the ternary trees of depth n. This is simple, just a long description, but maximum 20-30 lines of code. Do not bid over budget, you will be ignored!
Project ID: 16269199

About the project

2 proposals
Remote project
Active 6 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
2 freelancers are bidding on average $40 USD for this job
User Avatar
Hello Sir, I am a computer science tutor, I teach (among others) Haskell, Prolog and Algorithms. I have done many projects like this, and I'm one of the top Haskell developers, and you can check by clicking on my profile picture. Please contact me for more details when possible. I look forward to work for you, Sir. Best Regards.
$30 USD in 10 days
4.9 (68 reviews)
6.2
6.2

About the client

Flag of ROMANIA
Targu Mures, Romania
4.9
64
Payment method verified
Member since Dec 26, 2009

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.