497.random-point-in-non-overlapping-rectangles.go 245 B

1234567891011121314151617
  1. type Solution struct {
  2. }
  3. func Constructor(rects [][]int) Solution {
  4. }
  5. func (this *Solution) Pick() []int {
  6. }
  7. /**
  8. * Your Solution object will be instantiated and called as such:
  9. * obj := Constructor(rects);
  10. * param_1 := obj.Pick();
  11. */