Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomizedSet ¶
type RandomizedSet struct { }
func Constructor ¶
func Constructor() RandomizedSet
func (*RandomizedSet) GetRandom ¶
func (this *RandomizedSet) GetRandom() int
func (*RandomizedSet) Insert ¶
func (this *RandomizedSet) Insert(val int) bool
func (*RandomizedSet) Remove ¶
func (this *RandomizedSet) Remove(val int) bool
Click to show internal directories.
Click to hide internal directories.