I hereby claim:
- I am netdance on github.
- I am netdance (https://keybase.io/netdance) on keybase.
- I have a public key whose fingerprint is CFC9 CBE6 E5D6 76EA 9A26 17AF B6ED A125 0E60 685D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package testbacon; | |
| import java.time.Duration; | |
| import java.time.Instant; | |
| import java.util.ArrayList; | |
| import java.util.Collection; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.HashSet; | |
| import java.util.List; |
| package testlargestarray; | |
| import java.util.*; | |
| import java.util.concurrent.*; | |
| import java.util.concurrent.atomic.*; | |
| import java.util.stream.*; | |
| /* | |
| Problem: Given a list of random numbers, both positive and negative, find the | |
| largest sum of a sublist. |
| package testsortedliststreams; | |
| import java.util.*; | |
| import java.util.stream.*; | |
| /* | |
| Sample output on late-2013 MacBook Pro: | |
| Starting Naive List Sort, via Collections | |
| Total number of sorted values: 40000000 |
| package testpalindrome; | |
| import java.nio.file.*; | |
| import java.util.stream.Stream; | |
| public class TestPalindrome { | |
| // system dependant path of dictionary - this is where it is on Mac | |
| private static final String dictpath = "/usr/share/dict/words"; |