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


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

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

Færdigheder: Ingeniørarbejde, Algoritme, Computer Science

Om klienten:
( 0 bedømmelser ) United States

Projekt ID: #34761200

18 freelancere byder i gennemsnit $129 timen for dette job

(95 bedømmelser)

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 Flere

$250 USD in 7 dage
(21 bedømmelser)

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 Flere

$120 USD på 1 dag
(41 bedømmelser)
(8 bedømmelser)

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 på 1 dag
(70 bedømmelser)

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 in 7 dage
(11 bedømmelser)

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 Flere

$70 USD på 1 dag
(10 bedømmelser)

⭐ 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, Flere

$140 USD på 1 dag
(5 bedømmelser)

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 Flere

$100 USD på 1 dag
(3 bedømmelser)

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 Flere

$100 USD in 2 dage
(2 bedømmelser)

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, Flere

$200 USD in 7 dage
(4 bedømmelser)

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 Flere

$140 USD in 7 dage
(1 bedømmelse)
(1 bedømmelse)

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 Flere

$150 USD in 2 dage
(0 bedømmelser)

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 Flere

$100 USD in 4 dage
(0 bedømmelser)

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 Flere

$100 USD på 1 dag
(0 bedømmelser)

“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 Flere

$100 USD på 1 dag
(0 bedømmelser)

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 Flere

$200 USD på 1 dag
(0 bedømmelser)