Available question text
Given a two-column table, generate results that order the rows independently by each column (i.e., produce one sequence sorted by column A and another sorted by column B) and present them side-by-side. The challenge is to decouple the two sortings—typically using ORDER BY with window functions (row_number) and joining the two ranked sequences while correctly handling ties.
Related questions
Continue with questions that share topics or the same question type.
- Given a sorted integer array arr, two integers k and x, return the k closest integers to x in the array. The result should also be sorted in ascending order.
Coding
- A question around around array and number and SQL about counting employee salary and showing them in descending order
Coding
- Add two decimal strings e.g. '123.45' + '236.7'
Coding
- Add Two Integers
Coding · Math
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 2159. Order Two Columns Independently
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source