I hereby claim:
- I am nwagu on github.
- I am nwagu (https://keybase.io/nwagu) on keybase.
- I have a public key ASD8_Wp_R2DCET_8WuG5Oj8JoQFK0X_L7MGq_UYYDL5nVgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
sourceSets { | |
main { | |
java { | |
srcDir '../side-app/src/main/java' | |
} | |
assets { | |
srcDir '../side-app/src/main/assets' | |
} | |
res { | |
srcDirs '../side-app/src/main/res' |
import org.junit.Assert.assertEquals | |
import org.junit.Test | |
class DigitSwapCompare { | |
@Test | |
fun testFunction() { | |
assertEquals(isLargerOfDigitSwap(14), false) | |
assertEquals(isLargerOfDigitSwap(53), true) | |
assertEquals(isLargerOfDigitSwap(99), true) |
public class ExampleListAdapter extends MyBaseAdapter { | |
private Context context; | |
private List<Example> exampleList; | |
public ExampleListAdapter(Context context, List<Example> exampleList) { | |
this.context = context; | |
this.exampleList = exampleList; | |
} | |
@Override |
//This program prints the 92 solutions to the 8 Queens puzzle | |
//Brute force and Recursion | |
//Updated 7/11/2017 by Chukwuemeka Nwagu | |
public class EightQueens { | |
private static int[][] board; | |
private static int[][] solution = new int[8][4]; //this will contain the row and column numbers for cleared solutions | |
public static void main(String[] args) { |