Question: Please Solve the problem given in the image provided, Please provide a understandable and detailed psuedocode for the problem. Please don't take any extra assumptions

Please Solve the problem given in the image provided, Please provide a understandable and detailed psuedocode for the problem. Please don't take any extra assumptions out of what is provided in the question. Also do explain the psuedocode and do also explain in detail how the method for solving the question is derived and prove it also works.
.
Problem: You are given three sorted arrays A,B, and C each having n numbers. You can assume that you can compare two elements from ABC in O(1)-time. Let k be an integer. Design an algorithm that outputs the k-th smallest element of ABC. The running time of your algorithm must be faster than O(n). Try to optimize the running time of your algorithm as much as possible.
N.B. If your algorithm runs in O(n)-time, then you will receive at most 10% credit.
Guidelines: Please state any assumption you make. No such assumption should contradict with what the assumptions in the question says. For instance, if you want the array index to start from 0 to n-1, please state it. But by default as per the question, the index is 1,dots,n. Your answer must clearly explain the algorithm properly with a justification why the algorithm is correct. Additionally, your answer must give a clear explanation of your claimed running time. Missing explanations etc will deduct marks.
 Please Solve the problem given in the image provided, Please provide

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!