-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d21623e
commit 117653e
Showing
32 changed files
with
592 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package Binary; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, $binary ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub to_decimal { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
__PACKAGE__; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package Hexadecimal; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, $hexadecimal ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub to_decimal { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
__PACKAGE__; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package Deque; | ||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ($class) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub push { | ||
my ( $self, $value ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub pop { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub shift { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub unshift { | ||
my ( $self, $value ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
package Element; | ||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, %data ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package ListOps; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub map { | ||
my ( $func, $list ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub reduce { | ||
my ( $func, $list ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub length { | ||
my $list = shift; | ||
|
||
return undef; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package Palindrome; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, $min_max ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub largest { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
sub smallest { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package DNA; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, $strand ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub hamming_distance { | ||
my ( $self, $strand ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
__PACKAGE__; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package Prime; | ||
use strict; | ||
use warnings; | ||
|
||
sub factors { | ||
my ($num) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package Proverb; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub proverb { | ||
my ( $items, $qualifier ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
__PACKAGE__; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package Triplet; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, @args ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub is_pythagorean { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
sub sum { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
sub product { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
sub products { | ||
my $self = shift; | ||
|
||
return undef; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package Queens; | ||
use strict; | ||
use warnings; | ||
|
||
sub new { | ||
my ( $class, %data ) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub white { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub black { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub to_string { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
sub can_attack { | ||
my ($self) = @_; | ||
|
||
return undef; | ||
} | ||
|
||
1; | ||
|
Oops, something went wrong.