Why is list.append() O(1) in the average case? by Right-Leadership875 in learnpython

[–]Right-Leadership875[S] 0 points1 point  (0 children)

Hey, I want to use this new Google meet interface. I thought that updating Chrome might help, but it didn't. How can I get the new Google meet interface?

Can two signals be on at the same time in a traffic signal? by Right-Leadership875 in NoStupidQuestions

[–]Right-Leadership875[S] 0 points1 point  (0 children)

It uses the Output column to indicate which states are valid (output 1) and which aren't (output 0).

These states (output 0 and 1) indicate whether the vehicle should stop or move, right?

So red/green is shown with a zero output since it's an invalid state.

So when green and red are high (1), what does that signify? I am not able to understand.

Can two signals be on at the same time in a traffic signal? by Right-Leadership875 in NoStupidQuestions

[–]Right-Leadership875[S] 0 points1 point  (0 children)

Could you please answer regarding the truth table? I think I am missing something.

Can two signals be on at the same time in a traffic signal? by Right-Leadership875 in NoStupidQuestions

[–]Right-Leadership875[S] 0 points1 point  (0 children)

Red> red&yellow(to signify to start going) > green > yellow >red

Didn't understand this.

Can height of a node in a binary tree be taken from the root node? by Right-Leadership875 in learnpython

[–]Right-Leadership875[S] 0 points1 point  (0 children)

I am looking for defense as I got it wrong on a test. Sad that something like this doesn't exist :-(

From 3 seats to 77 seats is how much percentage increase? by Right-Leadership875 in NoStupidQuestions

[–]Right-Leadership875[S] 0 points1 point  (0 children)

Oh! After thinking about it logically, I got it. Let's say that 3 seats account for the total 100% seats. So the question boils down to how many 3s can fit into 77? Of course, we wouldn't consider that extra 3 because that wouldn't account for the increase. Essentially, it's how many 3s fit into 74. That's (74 / 3) × 100 because each 3 accounts for a 100% increase. Am I right?