← Questions

Count failing, passing and honor-roll test scores

0
GoogleCodingLast asked Oct 2026

A coding interview question asked in Google's HackerRank assessment, last asked Oct 2026. It tests arrays and counting.

Given a list of test scores out of 100, sort each into one of three groups and return the three counts in this order: failing (below 50), passing but not honor roll (50 to 80, both included), and honor roll (above 80).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Google · HackerRank assessment · Last asked Oct 202690 min · Two problems on HackerRank · Some early-career assessments enable the built-in assistant; others forbid AI. The invitation says which.

What it tests

arrays · counting

Your code and the AI tutor open when you unlock this question.