Skip to content

Instantly share code, notes, and snippets.

View josephliccini's full-sized avatar

Joe Liccini josephliccini

View GitHub Profile
#include <aJSON.h>
#include <avr/pgmspace.h>
#include <Roomba.h>
#include <SPI.h>
#include <WiFi.h>
#include <SPI.h>
#include "RestClient.h"
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <aJSON.h>
#include <avr/pgmspace.h>
#include <Roomba.h>
#include <SPI.h>
#include <WiFi.h>
#include <SPI.h>
#include "RestClient.h"
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
/*
* CreditCard.cpp
*
* Created on: May 26, 2015
* Author: Zak Taylor
*/
//4388576018410707 - VALID
//4388576018402626 - INVALID
#include <iostream>
@josephliccini
josephliccini / PalantirCodingChallenge.java
Last active November 20, 2021 12:08
Palantir Coding Challenge Question
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
/**
* Credit for Algorithm from top answer in:
* http://stackoverflow.com/questions/7116438/algorithms-question-flipping-columns
*
* This problem is given to interview candidates in the screening process
* for Palantir Technologies. I've seen it through several different
@josephliccini
josephliccini / InterviewQuestion.cs
Created November 15, 2014 04:49
An interview question I had.
using System;
using System.Collections.Generic;
namespace InterviewPractice
{
class MainClass
{
static string[] dictionary = new string[] {"clam", "calm", "toss", "tussle", "tag", "a", "able", "albe", "loose", "losoe", "lsooe"};
public static void Main (string[] args)
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
public class FacebookQuestion {
import java.util.Scanner;
// Takes in a String, and returns all ecryptions:
// i.e. if 'home' is our input string, encryptions would be:
// 4, 3e, h3, h2e, 2me, ho2, h1m1, (etc).
// No two numbers could be next to each other.
public class InterviewPractice
{
public static void main(String[] args)