← Salesforce questions
CodingReported in a candidate post, Jan 2025

Stream of add, add-to-all and print-min queries

Filed under Salesforce

Maintain a list of numbers under a stream of queries: ADD x appends x, ADD_ALL x adds x to every number currently in the list, and PRINT_MIN prints and removes the minimum. Process the queries in…

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 Salesforce questions

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