519.random-flip-matrix.go 319 B

12345678910111213141516171819202122
  1. type Solution struct {
  2. }
  3. func Constructor(n_rows int, n_cols int) Solution {
  4. }
  5. func (this *Solution) Flip() []int {
  6. }
  7. func (this *Solution) Reset() {
  8. }
  9. /**
  10. * Your Solution object will be instantiated and called as such:
  11. * obj := Constructor(n_rows, n_cols);
  12. * param_1 := obj.Flip();
  13. * obj.Reset();
  14. */