← Google questions
CodingEasyReported in a candidate post, Oct 2021

Fill Queue with Blocks of Sizes 1-8

Filed under Google

Given N blocks and a queue of length L, with block sizes ranging from 1 to 8, return the number of ways to fill the queue of length L using exactly N blocks.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.