NutanixSoftware Engineer · Technical ScreenCodemia practicePick the Surviving Partition After a Cluster Network Split
Given n cluster nodes, the list of links that are still healthy, and the set of nodes that can reach an external witness, return the nodes that should keep serving I/O: a strict majority partition if one exists, otherwise an exact half that can reach the witness, otherwise nothing.
Medium
Coding & Algorithms