Classes More Than 5 Students
Problem Descriptionβ
Visit LeetCode for the full problem description.
Solutionsβ
Solution 1: MySQL (Best: 1678 ms)β
| Metric | Value |
|---|---|
| Runtime | 1678 ms |
| Memory | N/A |
| Date | 2018-06-19 |
Solution
# Write your MySQL query statement below
select class from courses group by class having count(distinct student)>=5
Complexity Analysisβ
| Approach | Time | Space |
|---|---|---|
| Solution | To be analyzed | To be analyzed |