RippleSoftware Engineer · Phone ScreenCodemia practiceOrder Pending Transactions by Account Sequence Number
An account's next expected sequence number is known, and a client has submitted a batch of signed transactions tagged with sequence numbers, possibly out of order, with duplicates, gaps, and stale entries. Return which transactions can apply now in order, which are blocked behind a gap, which are stale, and the first missing sequence.