Skip to content

Instantly share code, notes, and snippets.

.gradle
/local.properties
/.idea/workspace.xml
.DS_Store
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
{
"companies": {
"Harlem BioSpace"{
"_id": "fkdlsdkfjsldfjdlsfjsldkf",
"name": "Harlem BioSpace",
"address": "423 W 127th St, New York, NY 10027",
"zip": "10027",
"url": "harlembiospace.com"
"email": "",
"year": "",
{
"companies": {
"Harlem BioSpace"{
"name": "Harlem BioSpace",
"description": "cool startup",
"address": {
"street": "423 W 127th St",
"city": "New York",
"state": "New York",
import queue
class Position(object):
def __init__(self, row, column):
self.row = row
self.column = column
def createState(stateMatrix, position):
newMatrix = list()
given initial state as:
5 4
.X..
...X
X.X.
....
.XX.
5 3
1 1
public static int search(int[] arr, int leftIndex, int rightIndex, int x){
int mid = (leftIndex+rightIndex)/2;
if(arr[mid] == x){
return arr[mid];
}
if(rightIndex < leftIndex){
return -1;
}
if(arr[mid] > arr[leftIndex]){
function getShortestUniqueSubstring(arr, str):
t = 0
result = null
uniqueCounter = 0
countMap = new Map()
# initialize countMap:
for i from 0 to length(arr)-1:
countMap.setValueOf(arr[i], 0)
# scan str
for h from 0 to length(str)-1:
__author__ = 'emcenrue'
# Download the Python helper library from twilio.com/docs/python/install
from twilio.rest import TwilioRestClient
# Your Account Sid and Auth Token from twilio.com/user/account
account_sid = "594e70312e0a1bfcfb63073e64c517bd"
auth_token = "{{ 594e70312e0a1bfcfb63073e64c517bd }}"
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;
import Utilities.IO_Template.MyScanner;
public class testing {
public static void printStuffWrapper(Node root){
if(node == null){
System.out.println("wat");
}
LinkedList<Character> pathString = new LinkedList<Character>();
printStuff(node, pathString);
}