Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1363. Largest Multiple of Three
Select a subset of the given digits and arrange them to form the largest possible number divisible by three (or return an empty string if none), returned as a string without unnecessary leading zeros. The core challenge is choosing minimal deletions using digits' values modulo 3 to make the sum divisible by 3, then ordering the remaining digits in descending order.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.