Q.1
14 MarksFind Big-oh (O) notation of following functions f(n)=3n⁶ + 2 n * lg n + 6n, h(n)= 3n²+ 6n*lgn+ 2n2.5
Write binary search algorithm and analyze it for worst case time complexity. Represent its time complexity using Big-oh (O) notation.
Also asked in Winter 2024 Q2c OR, Summer 2023 Q2c