Competitive randomized algorithms for non-uniform problems | Synapse