Suljettu

Help me solve computer science algorithm problems

I need someone who can provide me algorithm problem solution in the given format, it will be time bounded, for e.g. after asking the problem I need solution within 1 hour, I need you to do this 3 times on specific days and time, so this is at most 3 hours of work in total

A problem could look like below

A sequence S= [S1, S2, ...,Sn] is said to be nicely spaced if every two adjacent elements differ by at most 5. More precisely. S is nicely spaced if Isi - si+1| <= 5 for all 1 <=i<=n-1

Example: S [2,0,-1,0,0] is nicely spaced while S= [3510, 6515,3511] is not Design a Dynamic Programming to solve the following

problem: Input: a sequence S] of integers.

Output: the length of the longest nicely spaced subsequence of S.

Example: for input S (1,0, 10, 5, 10, 3) the answer is 4, since [1,0,-5,-3] is the longest nicely spaced subsequence.

Please answer the following parts:

1. Define the entries of your table in words. E.g. T() or T(i, j) is...

2. State a recurrence for the entries of your table in

terms of smaller subproblems. Don't forget your base

case(s).

3. Write pseudocode for your algorithm to solve this problem.

4. State and analyze the running time of your algorithm.

Taidot: tekniikka, Algoritmi, Computer Science

Tietoa asiakkaasta:
( 0 arvostelua ) United States

Projektin tunnus: #34761200

18 freelanceria on tarjonnut keskimäärin $129 tähän työhön

(95 arvostelua)
6.4
kazemmojtama

Hello, hope you are doing well I'm expert in MATLAB/Simulink, C++ and Python programming and by strong mathematical and statistical background, have good flexibility for solve your project. I have many experience pract Lisää

$250 USD 7 päivässä
(21 arvostelua)
5.7
marklai

As a skilled and experienced comp science technical writer, I bid on your algorithms project because I have the expertise and to deliver superior quality work. I guarantee you constant updates in the project as a way o Lisää

$120 USD 1 päivässä
(41 arvostelua)
5.9
(8 arvostelua)
4.7
khaledabutalb

Hello, I'm interested in your project. So, I have checked your description well and I can start working on your project. Contact me with all the details and requirements for your project.

$30 USD 1 päivässä
(70 arvostelua)
5.0
pyanskiy

Hello. Expert is here. Pls look at my profile. And if you are interested in, then pls contact me. Thanks. I am waiting for you.

$200 USD 7 päivässä
(11 arvostelua)
4.2
belotefreelancer

Hi, "I have gone through your description. "This is my area of specialization, i can get it done 100 % perfectly well. Please ping me in person. I can help you to complete all tasks. I have hands-on experience in this Lisää

$70 USD 1 päivässä
(10 arvostelua)
3.7
brettkulh

⭐ Algorithm Developer With C/C++/C#/Python/Java ⭐ I have been working on designing and implementing algorithm with C/C++/C#/Python/Java for 5 years. I have checked your project detail carefully. ✔️I can work full time, Lisää

$140 USD 1 päivässä
(5 arvostelua)
3.2
mykhailodew

Hi, I checked your project detail and I am so happy to send application to your interesting project. I have good experience of 7+ years in this field and I have done many projects similar to yours successfully. I under Lisää

$100 USD 1 päivässä
(3 arvostelua)
2.8
jahoyz

Hi, I've read your description carefully. I have full experience with Java, OOP, Algorithm, Python I've also worked on several similar projects. So I can complete your project with high quality on time. Looking forwar Lisää

$100 USD 2 päivässä
(2 arvostelua)
2.6
rajitravindran

I am very strong in data structures and algorithm and solve hackerrannk and leetcode questions regularly I am a professional Java web developer with 10+ years of experience Technologies : Java,J2EE,Kafka,REST,Aws,GCC, Lisää

$200 USD 7 päivässä
(4 arvostelua)
2.0
santiagomac841

Hi Talent! Did you have a good weekend? Santiago is ready for you. I am a math and algorithm expert and having 8 years of experience. My first skill is python, math, cuz it is my hobby. When I was 16, I took part in IM Lisää

$140 USD 7 päivässä
(1 arvostelu)
1.6
(1 arvostelu)
0.8
andreibrut7

Hi, I am C/C++ Expert. I have 5+ years of experience with C/C++. I am also data structure/algorithm expert. I am so interested in your project and I am sure I can do it as perfect. Waiting for your contact. Best regard Lisää

$150 USD 2 päivässä
(0 arvostelua)
0.0
pashaborges

Hello. It's nice to meet you. Thanks for your posting. I am happy to send proposal on this project. ***I'm a Senior Full Stack developer and you are the best client*** I have seen your project's requirements carefull Lisää

$100 USD 4 päivässä
(0 arvostelua)
0.0
AlanMeneses

Hello Thanks for your job posting I read your job description carefully I am an C++, C#, Python expert and have high skill on Algorithm I have a lots of experience in this field If you work with me, you will get best g Lisää

$100 USD 1 päivässä
(0 arvostelua)
0.0
pacific1310

“I’m a developer with experience in building ML productions, Windows and Mobile Apps and websites. Whether you’re trying to win work, list your services or even create a whole online store – I can help! + I had a Bache Lisää

$100 USD 1 päivässä
(0 arvostelua)
0.0
Isuru20416

Hello! It is a pleasure to send you a proposal to help you in task. I have clearly gone through your description and understood your requirement. I have expertized in Data Structures and Algorithms and well experienced Lisää

$200 USD 1 päivässä
(0 arvostelua)
0.0