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
| .gradle | |
| /local.properties | |
| /.idea/workspace.xml | |
| .DS_Store | |
| # Built application files | |
| *.apk | |
| *.ap_ | |
| # Files for the Dalvik VM | |
| *.dex |
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
| { | |
| "companies": { | |
| "Harlem BioSpace"{ | |
| "_id": "fkdlsdkfjsldfjdlsfjsldkf", | |
| "name": "Harlem BioSpace", | |
| "address": "423 W 127th St, New York, NY 10027", | |
| "zip": "10027", | |
| "url": "harlembiospace.com" | |
| "email": "", | |
| "year": "", |
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
| { | |
| "companies": { | |
| "Harlem BioSpace"{ | |
| "name": "Harlem BioSpace", | |
| "description": "cool startup", | |
| "address": { | |
| "street": "423 W 127th St", | |
| "city": "New York", | |
| "state": "New York", |
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 queue | |
| class Position(object): | |
| def __init__(self, row, column): | |
| self.row = row | |
| self.column = column | |
| def createState(stateMatrix, position): | |
| newMatrix = list() |
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
| given initial state as: | |
| 5 4 | |
| .X.. | |
| ...X | |
| X.X. | |
| .... | |
| .XX. | |
| 5 3 | |
| 1 1 |
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
| 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]){ |
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
| 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: |
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
| __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 }}" |
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.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 { |
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
| public static void printStuffWrapper(Node root){ | |
| if(node == null){ | |
| System.out.println("wat"); | |
| } | |
| LinkedList<Character> pathString = new LinkedList<Character>(); | |
| printStuff(node, pathString); | |
| } | |