subject
Mathematics, 19.11.2019 19:31 Alexandram2163

You are given an array a representing heights of students. all the students are asked to stand in rows. the students arrive by one, sequentially (as their heights appear in a). for the i-th student, if there is a row in which all the students are taller than a[i], the student will stand in one of such rows. if there is no such row, the student will create a new row. your task is to find the minimum number of rows created. test cases

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 19:00
Arestaurant chef made 1 1/2 jars of pasta sauce. each serving of pasta requires 1/2 of a jar of sauce. how many servings of pasta will the chef be bale to prepare using the sauce?
Answers: 3
question
Mathematics, 21.06.2019 22:30
Find the condition that the zeros of the polynomial f(x) = x^3+3px^2+3px+r may be in a.p.
Answers: 1
question
Mathematics, 21.06.2019 23:00
If mary had 320 toy cars and she gave her friend 50 cars and then she gave her brother 72 more cars how much toy cars would mary have left ● explain with proper details
Answers: 1
question
Mathematics, 22.06.2019 06:30
Solving systems by substitution answer fast
Answers: 1
You know the right answer?
You are given an array a representing heights of students. all the students are asked to stand in ro...
Questions
question
Mathematics, 01.02.2021 23:00
question
Mathematics, 01.02.2021 23:00
question
Mathematics, 01.02.2021 23:00
question
Mathematics, 01.02.2021 23:00
question
Mathematics, 01.02.2021 23:00
Questions on the website: 13722363