Skip to content

Instantly share code, notes, and snippets.

jabiodun lgtout

Block or report user

Report or block lgtout

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lgtout
lgtout / HomeGuesser.groovy
Last active Mar 10, 2017
Home location guesser for Sense360
View HomeGuesser.groovy
package com.sense360
class HomeGuesser {
/**
* A location, consisting of latitude and longitude.
* Rounds coordinates provided to 3 decimal places.
* Compares by value, not reference.
*/
static class Location {
View MatrixPath.kt
@file:Suppress("FunctionName")
package com.lagostout.bytebybyte.dynamicprogramming
import kotlin.math.absoluteValue
import kotlin.math.sign
object MatrixPath {
fun computeWithRecursionAndBruteForce(
You can’t perform that action at this time.