Find Jobs
Hire Freelancers

Need a custom red black tree data structure coded in Erlang with array like functions.

$30-250 USD

Closed
Posted over 2 years ago

$30-250 USD

Paid on delivery
I need a custom red black tree data structure coded in Erlang with array like functions. Functions: new(comparator function), returns a newly created custom rb tree that uses the comparator function passed in for comparisons get(index), returns the tuple of key and value at index get_kv_range(index1 inclusive, index2 noninclusive), returns list of key value tuples from index1 inclusive to either index2 noninclusive or until the end of the tree, whichever comes first get_keys_range(index1 inclusive, index2 noninclusive), returns list of keys from index1 inclusive to either index2 noninclusive or until the end of the tree, whichever comes first get_values_range(index1 inclusive, index2 noninclusive), returns list of values from index1 inclusive to either index2 noninclusive or until the end of the tree, whichever comes first get(key), returns value of key insert(key, value) delete(key) contains(key), true or false if key exists in tree size(), returns number of keys in tree index must be zero based. all functions must be log(n) complexity
Project ID: 32658340

About the project

Remote project
Active 2 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

About the client

Flag of UNITED STATES
Santa Clara, United States
0.0
0
Member since Jan 15, 2022

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.