Skip to content

Instantly share code, notes, and snippets.

import React from 'react';
import {PageHeader, Button, Link} from '@appsflyer/fe-components-core';
import {GET} from '@appsflyer/fe-services';
class LandJoke extends React.Component {
constructor(props) {
super(props);
this.state = {
joke: "placeholder joke",
account: "",
// Implement sleepSort(nums []int) []int using goroutines & channels.
// About sleep sort - https://www.quora.com/What-is-sleep-sort.
func sleepSort(nums []int) []int {
}
// Assume we have a slice of points, where type Point struct {X, Y int}
// Write a function sortPoints(points []*Point, origin *Point) []*Point that will return a sorted slice of the points
// according to their distance from origin. The original points parameter should not be affected. You should use the sort
// package and not implement your own sorting.
func sortPoints(points []*Point, origin *Point) []*Point {
}
@gilo
gilo / gist:4976479
Created February 18, 2013 10:28
test
var test=1;