package leetcode;

import java.util.List;

/**
 * https://leetcode.com/problems/invalid-transactions/
 */
public class Problem1169 {
    public List<String> invalidTransactions(String[] transactions) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem1169 prob = new Problem1169();
        System.out.println(prob.invalidTransactions(new String[]{
            "alice,20,800,mtv","alice,50,100,beijing"})); // ["alice,20,800,mtv","alice,50,100,beijing"]
        System.out.println(prob.invalidTransactions(new String[]{
            "alice,20,800,mtv","alice,50,100,beijing","alice,5,100,beijing"})); // ["alice,20,800,mtv","alice,50,100,beijing","alice,5,100,beijing"]
        System.out.println(prob.invalidTransactions(new String[]{
            "alice,20,800,mtv","alice,50,1200,mtv"})); // ["alice,50,1200,mtv"]
        System.out.println(prob.invalidTransactions(new String[]{
            "alice,20,800,mtv","bob,50,1200,mtv"})); // ["bob,50,1200,mtv"]
    }
}

@@ -1000,20 +1000,346 @@
 ,1200,mtv%22%5D%0A
+        System.out.println(prob.invalidTransactions(new String%5B%5D%7B%0A            %22alice,5,100,beijing%22,%22alice,50,100,beijing%22%7D)); // %5B%5D%0A        System.out.println(prob.invalidTransactions(new String%5B%5D%7B%0A            %22alice,5,100,beijing%22,%22alice,50,100,beijing%22,%22alice,80,800,mtv%22%7D)); // %5B%22alice,50,100,beijing%22,%22alice,80,800,mtv%22%5D%0A
     %7D%0A%7D%0A

Update problem 1169