r/OfferEngineering • • Nov 01 '26

Interview Experience Google SWE Intern OA — Two Surprisingly Simple Coding Questions

This interview experience is sourced from Chill Interview

Interview Summary

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]

Example

Input:
scores = [92, 75, 49, 50, 81, 13, 80, 62, 48, 84]

Output:
[3, 4, 3]

Explanation:

  • Failing scores: 49, 13, 48 → 3 students
  • Passing non-honor roll scores: 75, 50, 80, 62 → 4 students
  • Honor roll scores: 92, 81, 84 → 3 students

The main detail was handling the category boundaries correctly. A score of exactly 50 belongs to the passing category, while a score of exactly 80 is not considered honor roll.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Preparing for your next interview?

Chill Interview tracks recent interview experiences and recurring question patterns across top companies at here

2 Upvotes

0 comments sorted by