Available question text
Given an integer made only of digits 6 and 9, maximize its value by flipping at most one digit (6↔9). Greedy insight: flip the most significant 6 to a 9 (if any), otherwise leave the number unchanged.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1323. Maximum 69 Number
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source