Add pod, error handling for args
This commit is contained in:
parent
7bc55c5b71
commit
51afbeae72
2 changed files with 36 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue