Skip to content

Instantly share code, notes, and snippets.

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