Find Jobs
Hire Freelancers

Dynamic Programming Project Task

₹1000-1300 INR

Closed
Posted almost 3 years ago

₹1000-1300 INR

Paid on delivery
You are given two sorted lists of integers, A and B, of size n (you may assume all integers are distinct). You wish to find the upper median of the union of the two lists. The median of an odd sized list is defined to be the "middle" element when sorted. Since there are 2n total elements there is no median element. Instead, there are two middle elements the lower median and the upper median. (Sometimes in statistics you are told to average these two medians - we will not do this in this problem.) Let M (A, B) express the upper median of the union of A and B. a) Show how you can use the (upper) medians of the two lists to reduce this problem to its sub-problems. State a precise self-reduction for your problem. b) State a recursive algorithm that solves the problem based on your reduction. c) State a tight asymptotic bound on the number of operations used by your algorithm in the worst case.
Project ID: 31008753

About the project

3 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average ₹1,150 INR for this job
User Avatar
I can solve this problem in python language in which I have experience. You can get the solution as soon as possible.
₹1,300 INR in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have experience in python with data management, math, tensorflow, keras, ocr, etc. I can help you.
₹1,150 INR in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I can do this problem in O(n) time complexity. I am expert in competitive programming . I can provide you solution in C Java and make you understand the code easily ,also i can do it in log(n).
₹1,000 INR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Pune, India
3.2
5
Payment method verified
Member since Jan 21, 2021

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.