Skip to content

Instantly share code, notes, and snippets.

View lanrete's full-sized avatar

lanrete

  • Shanghai
View GitHub Profile
type floatStack struct {
s []float64
cnt int
}
func (s *floatStack) Push(v float64) {}
func (s *floatStack) Pop() (float64, error) {}
func (s *floatStack) IsEmpty() (bool) {}