We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Angry Professor
Angry Professor
Sort by
recency
|
1971 Discussions
|
Please Login in order to post a comment
Here is my one line Python solution! If there are less students that show up on time than the threshold, we return "YES", otherwise there are enough students and we return "NO".
c# Solution:
someone need to fix the description in this one
java
This question have some issue in its description it got me confused for a while.
First statement:
The first 3 students arrived on. The last 2 were late. The threshold is 3 students, so class will go on. Return YES.
Leter statement:
Complete the angryProfessor function in the editor below. It must return YES if class is cancelled, or NO otherwise.
Follow the second rule if you want to successfully complete the question.