Add pod, error handling for args

This commit is contained in:
Tracey Clark 2023-09-21 15:35:43 -05:00
commit 51afbeae72
2 changed files with 36 additions and 8 deletions

View file

@ -61,4 +61,14 @@ sub solution {
return $max_gap;
}
1;
1;
__END__
=pod
=encoding utf8
=head1 NAME
BinaryGap - Find longest sequence of zeros in binary representation of an integer. If there is none, this returns 0.