Find the Optimal Binary Search Tree for 10, 20, 30, 40 and their frequency is given by the first four unique digits of your registration number in sequence (Example: if Reg. No. = 11912348 then frequency =1923).(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem).
Comments
Leave a comment