Affirm | Software Engineering Apprentice, Full-Stack (Junior/New Grad) | Coding | Online Assessment

jacob_rushinskijacob_rushinski·
Interview date

May 1, 2026

Company

affirm

Role

Software Engineering Apprentice, Full-Stack

Level

Junior/New Grad

Region

NA (North America)

Round type

Coding

Team/Org

General Hire

Stage

Online Assessment

Finding Integers You are given a permutation of integers from 1 to n stored in an array arr , and an integer k. The iᵗʰ greatest element of an array is the iᵗʰ element when sorted in decreasing order. For each prefix of the array of length i (where i ranges from k to n ), find the kᵗʰ greatest element. Example: n = 4 k = 2 arr = [4, 2, 1, 3] Find the 2ⁿᵈ greatest element for each prefix of size i ≥ k : i = 2, arr = [...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue