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
<?php | |
function reverse_array($arr){ | |
if(count($arr) > 1){ | |
$sub = reverse_array(array_slice($arr, 1)); | |
$sub[] = $arr[0]; | |
return $sub; | |
} else { | |
return $arr; | |
} |
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
/* | |
* Date created, Sunday 26th March, 2009. | |
* Coded by: Celestine Ezeokoye | |
*/ | |
package gaussianelimination; | |
import java.util.Scanner; | |
public class GaussianElimination { |
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
namespace Tiketmobile.Helpers | |
{ | |
public static class StringHelper | |
{ | |
public static string ToTitleCase(this TextInfo textInfo, string str) | |
{ | |
var tokens = str.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries); | |
for (int i = 0; i < tokens.Length; i++) | |
{ | |
var token = tokens[i]; |