please provide explanations! To compare two class objects use the == operator wr
ID: 3534565 • Letter: P
Question
please provide explanations!
Explanation / Answer
1)A
Explanation : == operator checks for the reference, not the value. Hence if you need to compare two Objects, you will need to compare refernce. Hence use == operator
2)D
Explanation : An Image can be thought of a 2D Matrix. Manipulation, hence is done by all 3 methods listed
3)A
Time Complexity for Fibonacci : O(2^n)
Time Complexity for Merge Sort : O(n*log(n))
Time Complexity for Binary Search : O(log(n))
Time Complexity for Factorial : O(n)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.