← Visa questions

Sort strings based on derived binary numbers

Filed under Visa

Given a list of strings where each string represents a set of indices (e.g., '0,2' means bits at 2^0 and 2^2 are set), convert these to their integer representations and return the original strings…

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

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