0
/ 10
What would be the Big O Complexity for the following method?
public boolean crossRoad(boolean isSafe, int height, int length) { if...
What would be the Big O Complexity for the following method?
public boolean crossRoad(boolean isSafe, int height, int length) {
if (isSafe) {
return true;
} else if (height < 10) {
return true;
} else {
return length > 13;
}
}
Your feedback will appear here when you check your answer.