From 33329d7006f60577b316fb58136f42ec189c42c1 Mon Sep 17 00:00:00 2001 From: aboualnaser Date: Tue, 12 Jul 2016 14:07:40 +0200 Subject: [PATCH] first --- hamming.php | 8 ++++++++ hamming.php~ | 13 +++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 hamming.php~ diff --git a/hamming.php b/hamming.php index b457e65..ba19559 100644 --- a/hamming.php +++ b/hamming.php @@ -10,4 +10,12 @@ function distance($a, $b) // // YOUR CODE GOES HERE // + $a1 = str_split($a); + $a2 = str_split($b); +$x=0; +for( $i=0;$i diff --git a/hamming.php~ b/hamming.php~ new file mode 100644 index 0000000..b457e65 --- /dev/null +++ b/hamming.php~ @@ -0,0 +1,13 @@ +