You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2 is about a general purpose Sample, but a relatively common case is func Pick2(n int) (i int, j int). Is it worth adding as a separate function, given that it will only be marginally better than a straightforward loop-based implementation?
The text was updated successfully, but these errors were encountered:
#2 is about a general purpose
Sample
, but a relatively common case isfunc Pick2(n int) (i int, j int)
. Is it worth adding as a separate function, given that it will only be marginally better than a straightforward loop-based implementation?The text was updated successfully, but these errors were encountered: