Compute max island with constrained flips | Dropbox