# Nabeel Aslam- CH05HW
#R_5.5
Return values are placeholders for values and/or object references in the signature of a method.
Arguments are the actual values and/or object references you give when invoking a method.
We can call a function multiple time
# NABEEL ASLAM #
R 3.2
Ans. In the first part we have to assign the value of x and y. If the value of x and y are greater than zero than it adds to s to print the final value "2".
part (B) of R 3.2
Ans. In the second part the result would be 1 in both ca
big oh complexity
0(n^2) if there is a loop inside a loop
first O(n)
second O(log n)
third O(underrootn)
fourth O(nlogn)
fifth O(n^2)
sixth O(N^3)
seventh O(n^3)
eighth O(n^4)
ninth O(n!)
BEST SORTS:
merge sort
quick sort
topic:
Binary search
Nabeel Aslam
Log 2
Sunday October 19: 60 mins Homework practice
worked on P7.2 and P7.8
Monday October 20 : 90 Minutes
attended class
Read Chapter 8 second half
Tuesday October 21: 75 minutes
Attended class
received email about study guide exam
Nabeel Aslam
Log 2
Sunday October 19: 60 mins
worked on P7.2 and P7.8
Monday October 20 : 90 Minutes
attended class
Read Chapter 8 second half
Tuesday October 21: 75 minutes
Attended class
received email about study guide exam 2
reviewed PA-04