This file contains hidden or 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
import java.util.ArrayList; | |
import java.util.Arrays; | |
/** | |
* Sudoku | |
*/ | |
public class Sudoku { | |
static void displayBoard(String boardString){ | |
String[] boardRows = {"", "", "", "", "", "", "", "", ""}; | |
char[] boardArray = boardString.toCharArray(); |
This file contains hidden or 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
/** | |
* PigLatin | |
*/ | |
public class PigLatin { | |
static String pigLatinify(String word){ | |
return ""; | |
} | |
public static void main(String[] args) { |
This file contains hidden or 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
/** | |
* BinarySearch | |
*/ | |
public class BinarySearch { | |
static int bsearch(int[] arr, int number){ | |
return 0; | |
} | |
public static void main(String[] args) { | |
int[] arr = {7,9,21,42,58,67,88}; |
This file contains hidden or 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
// Template for Fibonacci | |
/** | |
* Fibonacci | |
*/ | |
public class Fibonacci { | |
static int findFibonacci(int index){ | |
return 0; | |
} |
This file contains hidden or 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
import java.util.Arrays; | |
/** | |
* PigLatin | |
*/ | |
public class PigLatin { | |
static String convert(String word){ | |
// Your Code | |
Character[] vowels = {'a','e','i','o','u'}; | |
char[] wordChars = word.toCharArray(); |
NewerOlder