Home /
Expert Answers /
Computer Science /
e-write-a-java-function-named-insertsortedl-val-that-uses-lastsmallerl-to-insert-an-integer-into-pa427
(Solved): e. Write a Java function named insertSortedL(val) that uses lastSmallerL to insert an integer into ...
e. Write a Java function named insertSortedL(val) that uses lastSmallerL to insert an integer into a sorted list, in correct order. ( 4 marks) f. Write a Java function named insertSortedA(val)that uses lastSmallerA to insert an integer into a sorted array, in correct order. (6 marks) g. State one validation test that is needed in insertSortedA to prevent a run time error which is not needed in insertSortedL. (1mark)