Kapalı

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.

Beceriler: Mühendislik, Algoritma, Computer Science

Müşteri Hakkında:
( 0 değerlendirme ) United States

Proje NO: #34761200

Bu iş için 18 freelancer ortalamada $129 teklif veriyor

(95 Değerlendirme)
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 Daha Fazla

$250 USD in 7 gün içinde
(21 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(41 Değerlendirme)
5.9
(8 Değerlendirme)
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.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(70 Değerlendirme)
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 in 7 gün içinde
(11 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(10 Değerlendirme)
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, Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(5 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(3 Değerlendirme)
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 Daha Fazla

$100 USD in 2 gün içinde
(2 Değerlendirme)
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, Daha Fazla

$200 USD in 7 gün içinde
(4 Değerlendirme)
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 Daha Fazla

$140 USD in 7 gün içinde
(1 Yorum)
1.6
(1 Yorum)
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 Daha Fazla

$150 USD in 2 gün içinde
(0 Değerlendirme)
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 Daha Fazla

$100 USD in 4 gün içinde
(0 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0