Find Jobs
Hire Freelancers

two functions on js/es for nodejs

$10-30 AUD

Completed
Posted over 5 years ago

$10-30 AUD

Paid on delivery
You must have source code writed by you, to show me before work. task 1. * given array [{prefix:'AA'},{prefix:'AB'}] * given string for example 'ability' Create a function that generate unique pefix for given string by first letters (for 'ability' prefix will be `AB`, for 'data' prefix is 'DA'), prefix must be unique which mean it not exists in given array. - it check array and if prefix already `AB` exists it increment generated prefix and check array again until not found unique (free) prefix which is not exists in array. where increment mean AB become AC, AC become AD, ... AZ become BA, ZZ become AA like we use letters A-Z instead of digits 0-9 task 2 * given data array [{color:'AA'},{color:'AB'}], let say `data` * array of colors, let say `colors` array Create a function which: * make copy of `colors` array (using slice), let say `carray` * remove each color in `carray` if it exists in given `data` array * if `carray` is not empty return random color from it, * else return random color from `color array`, if tasks done nore we will continue work togather in future
Project ID: 18126859

About the project

3 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
Hi Dear Client I have read the description andI am interested in your project. I am a professional software developer. I can do this task for you. I can start working right now. Sample apps will be provide on request. Drop a message if you require my services. Looking forward to it. Thanks, Regards
$25 AUD in 2 days
0.0 (0 reviews)
0.0
0.0
3 freelancers are bidding on average $33 AUD for this job
User Avatar
Hi, I've read your requirements. I'm a node.js expert and I can do both of those tasks pretty quickly. If you send me a PM we can talk about the details.
$50 AUD in 2 days
5.0 (11 reviews)
4.8
4.8
User Avatar
Although This is my first project in JS, Hope I can help you better with my programming skills
$25 AUD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of RUSSIAN FEDERATION
Voronezh, Russian Federation
5.0
2
Payment method verified
Member since Mar 22, 2014

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.