Pika online assessment interview

Round 2 of 5 · 2 questions reported

See the whole loop
Length
30 min
Format
HackerRank, two hard problems
Heads-up
Reported 2024 to 2025: text justification aligned to one side, and the sum of products over all subarrays. Tests must pass; there is little time to debug. Mobile roles got a second test of iOS questions and two medium problems.

Questions Pika asks in this round 2

  • Left-justify text to a fixed widthCodingLockedGiven a list of words and a line width W, lay the words out in lines of exactly W characters. Put as many words on each line as fit, in order, with one space between neighbours…
    Possibly retired
  • Sum of products over all subarraysCodingLockedTwo problems in one timed assessment: a simple text formatter, and the sum of products over every contiguous subarray. Unless you agree on a different interface with the…
    Possibly retired