Why are constants and lower-order terms dropped from a big O expression?
Complexity and Big O Notation
Original Khojo Papers practice question — not from a past board paper.
O(n2)
No citable source has been recorded for this record. Treat it as practice material, not as fact.
The inner loop runs n times for each of the n iterations of the outer loop, so the statement executes n2 times.
From the same topic and chapter, at a similar level.
Why are constants and lower-order terms dropped from a big O expression?
Complexity and Big O Notation
Give the time complexity of merge sort, insertion sort in the worst case, and accessing an element of an array by its index.
Complexity and Big O Notation
What does big O notation measure, and give the complexity of linear search, binary search and bubble sort.
Complexity and Big O Notation
Write a recursive Java method to compute the factorial of a non-negative integer n.
Recursion
State and verify the absorption law X + X·Y = X using a truth table.
Boolean Algebra
Convert the Boolean expression F(A, B, C) = Σ(1, 3, 5) into its canonical sum of products form.
Boolean Algebra