NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
All companies

postcredit

Vacancies
0
Interviews
1
Questions
5
Tasks
0

Vacancies · 0

No vacancies were found for the selected period.

Interviews · 1

Other direction

1 interview

Technical

Senior · 8 questions
May 204 views

By interview stage

  • Technical1

By grade

  • Senior1

Questions and tasks · 5

Other direction

5 questions

Tell about your experience.

Middle–Senior

What will happen if the sorting is removed? What will break the algorithm?

Senior

Why does the algorithm compare the concatenations AB and BA, rather than just the numbers A and B directly?

Senior

[ 99, 3, 88, 10, 23, 96, 11 ] [ 11, 2 ] function largestNumber(array $nums) { usort($nums, function($a, $b) { $ab = (string) $a . (string) $b; $ba = (string) $b . (string) $a; return strcmp($ba, $ab); }); return implode('', $nums) === str_repeat('0', count($nums)) ? '0' : implode('', $nums); } $result = largestNumber([ 99, 3, 88, 10, 23, 96, 11 ]);

Senior

Tell about your work experience.

Junior–Senior