← Google questions
CodingReported in a candidate post, Oct 2021

Largest Number from String Digits

Filed under Google

Given two strings representing numbers, rearrange the digits of each to form the largest possible number. Compare the two resulting numbers and return the larger one as a string.

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

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