Hello, I need help with my homework questions, it is about designing algorithm with certain efficiency, such as O(n). No programming required. just design an algorithm for a problem. Here is a sample question: Peter is an owner of a Japanese sushi restaurant and today he invites you for dinner at his restaurant. In front of you are n sushi dishes that are arranged in a line. Each dish are different and they have different costs. Peter hopes that you can select the dishes you want, starting from the left to the right. However, there is a further restriction: when you select a dish, say A, the next dish you can select must cost higher than A. Design an O(n^2)-time algorithm to select the dishes so as to maximize the total costs.
12 freelancers estão ofertando em média $19/hora para esse trabalho
Hello. I am an algorithm expert. Please look at my portfolios and reviews. I can complete your project within 30 minutes. I will wait for your answer. Thanks.
I have work experience on this field for 2 years. I have got A from Data Structures and Algorithms courses. I believe I will complete your work in the best way. When is the deadline for the project?
Hi! I ALREADY HAVE AN ALGORITHM FOR YOUR SAMPLE PROBLEM. I'll be glad to help you with your project, have the skills and the disposition you need! Let's work together!