package leetcode;

/**
 * https://leetcode.com/problems/dota2-senate/
 */
public class Problem649 {
    public String predictPartyVictory(String senate) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem649 prob = new Problem649();
        System.out.println(prob.predictPartyVictory("RD")); // Radiant
        System.out.println(prob.predictPartyVictory("RDD")); // Dire
    }
}

@@ -421,16 +421,162 @@
 // Dire%0A
+        System.out.println(prob.predictPartyVictory(%22RDRD%22)); // Radiant%0A        System.out.println(prob.predictPartyVictory(%22RDDR%22)); // Radiant%0A
     %7D%0A%7D%0A

Update problem 649