Coding problem - find lexicographically smallest matrix with cross swaps @dedekindcuts3589
Coding problem - find lexicographically smallest matrix with cross swaps  @dedekindcuts3589
Uploaded September 2022 | Updated November 2026, 1 day ago
#coding #programming #algorithms

The Facebook Meta Hacker Cup 2022 round 2 took place yesterday, did you take part? Since SecondThread uploaded solutions video, I will not be repeating the same. Instead, would like to share this interesting problem from a recent Codeforces round that unexpectedly uses disjoint set union (DSU) and graph search algorithms (BFS or DFS). Enjoy!
Coding problem - find lexicographically smallest matrix with cross swapsIMO 2025 Problem 3 - *BONZA* number theory functional equation!IMO 2021 Day 2 solutions and discussionIMO 2024 Problem 5 - most *TROLL* problem in IMO history?USAMO 2026 - Most *RIDICULOUS* Problem 1 ever seen!Volume generated by rotating cubeAPMO 2023 Problems 1 and 2 solutions and discussionAll-Russian Olympiad 2026 - You *win* some, you *lose* some?!?Can you square a circle using straightedge and compass? | Constructible numbersThe Art of Counting (Part 3) - CombinationsIndian National Math Olympiad 2024 - Fun logic puzzle recommended by viewerSolving IMO 2001 Problem 3 with incidence matrices
Dedekind cuts |

Coding problem - find lexicographically smallest matrix with cross swaps

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER