FastPrepTransaction Balance Over Threshold
Problems/Transaction Balance Over Threshold

Transaction Balance Over Threshold

IMC Trading logoIMC Trading● MediumFULLTIMEOA

Updated Nov 2026

QuestionConstraints

Problem statement

Source note: Reported in an IMC Trading online assessment. The report gives the exact tables, the signed transaction model, the output field, and a strict threshold. It does not give the keys, whether columns can be null, sample rows, or the output order. Our version is about 96% the same as the reported question.

You are given two tables, LOGIN and TRANSACT.

LOGIN

  • ACCOUNT CHAR(16)
  • USERNAME CHAR(20)
  • FIRST_NAME CHAR(20)
  • LAST_NAME CHAR(30)

TRANSACT

  • ACCOUNT CHAR(16)
  • AMOUNT INT
  • TIMESTAMP DATE

TRANSACT contains every change made to an account. Credits are positive, debits are negative, and every account starts with a balance of 0.

Return exactly one column, USERNAME, containing every username whose account has a net balance strictly greater than 10000. Compute an account's net balance as the sum of all of its TRANSACT.AMOUNT values.

The output row order is not significant.

Table schema

MySQLPostgreSQLPandas

Use the same input data with any supported language. Open the Schema tab in the editor to see the generated SQL setup or Pandas DataFrames.

LOGIN

Login identity records from the source schema.

ColumnTypeNullableDescription
ACCOUNTTextNoAccount identifier; the source declares CHAR(16).
USERNAMETextNoUsername; the source declares CHAR(20).
FIRST_NAMETextNoFirst name; the source declares CHAR(20).
LAST_NAMETextNoLast name; the source declares CHAR(30).

TRANSACT

Account credits and debits from the source schema.

ColumnTypeNullableDescription
ACCOUNTTextNoAccount identifier; the source declares CHAR(16).
AMOUNTIntegerNoSigned balance change; credits are positive and debits are negative.
TIMESTAMPDateNoTransaction date; the source declares DATE.

Expected result

Your query or function must return these columns.

ColumnTypeNullableDescription
USERNAMETextNoUsername of an account whose balance exceeds 10000.

Row order: any order is accepted. Numeric tolerance: 0.

Constraints

  • For this practice version, every input cell is non-null.
  • LOGIN.ACCOUNT identifies at most one login row. An account may have any number of TRANSACT rows.
  • Text values respect the source-declared CHAR lengths.
  • AMOUNT is a signed integer: positive values are credits and negative values are debits.
  • TIMESTAMP is represented as an ISO date in YYYY-MM-DD form and does not affect the result.
  • Either table may be empty. An account with no transactions has balance 0, and transactions without a matching LOGIN row contribute no username.

Source note: Original assessment screenshot showing the source table schema and prompt.

More IMC Trading Online Assessment questions

  • Earliest Meeting Start on a 24-Hour ClockOA · Seen Nov 2026
  • Grid Paths with Override PassesOA · Seen Oct 2026
  • Weighted LFU CacheOA · Seen Sep 2026
  • Rock JumpingOA · Seen Aug 2026
  • Stack Batch RemovalOA · Seen Aug 2026
  • Chain of CommandOA · Seen Aug 2026
  • Choose ContainersOA · Seen Aug 2026
  • Sub-matrix SumsOA · Seen Jul 2026
  • Sub-matrix SumsOA · Seen Jul 2026
  • Can Every Package Fit in a BoxOA · Seen Jul 2026

Similar questions at other companies

  • Auction Lot Bid SummaryHackerRank · OAHackerRank interview questions
  • Bond Holders Above the Cash Flow ThresholdBirla Pivot · OA
  • Prepare Taxi Driver Classification DataBoston Consulting Group · OABoston Consulting Group interview questions
  • Find the Dominant SellerSquadStack.ai · OA
  • Track the Book and Mark Final PnLMillennium · OAMillennium interview questions
  • Market Share Ticker with ImbalanceWolverine Trading · OAWolverine Trading interview questions
  • Overloaded Game Account InventoriesWells Fargo · OAWells Fargo interview questions
  • Transaction Totals and Ranked Failure ReasonsIntuit · OAIntuit interview questions
  • Employees Joined per MonthOdoo · OAOdoo interview questions
  • Bond Haircut by Ratings and MaturityJane Street · OAJane Street interview questions

Interview reports that mention this question

  • IMC Trading OA: What It Tests (2026)

IMC Trading interview experiences

  • IMC Trading SWE OA and Video: 18 Experiences (Part 3 of 3)
  • IMC Trading SWE OA Questions: 22 Experiences (Part 2 of 3)
  • IMC SWE New Grad OA and Interviews: 58 Experiences (Part 1 of 3)
All IMC Trading interview questionsSee IMC Trading hiring insights