You are viewing a single comment's thread. Return to all comments →
simplicity at its finest in Go
func andProduct(a int64, b int64) int64 { res := a for i := a+1;i <= b;i++ { res = res & i } return res }
Seems like cookies are disabled on this browser, please enable them to open this website
AND Product
You are viewing a single comment's thread. Return to all comments →
simplicity at its finest in Go