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
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
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.