The assessment contained two coding questions, both around easy-to-medium difficulty. The first involved categorizing student scores into three groups, while the second required determining how many evenings were needed to finish a book under specific reading constraints.
Interview Details
Question 1: Student Score Classification
The first problem involved processing a list of student test scores and counting how many scores fell into three categories.Given an integer array scores, return an array containing exactly three integers representing the number of scores in each category.
The categories are defined as follows:
Failing: Scores strictly below 50.
Passing (Non-Honor Roll): Scores between 50 and 80, inclusive.
Honor Roll: Scores strictly above 80.
The output must follow this order [failing_count, passing_count, honor_roll_count]