Skip to content

Instantly share code, notes, and snippets.

View neufeldtech's full-sized avatar

Jordan Neufeld neufeldtech

View GitHub Profile
@neufeldtech
neufeldtech / yolo.go
Last active November 27, 2020 22:09
yolo.go
package main
import (
"bufio"
"encoding/json"
"flag"
"fmt"
"log"
"net"
"net/http"

Interview Brief: URL Shortener Implementation

Objective:

The goal of this pair programming interview is to build a functional URL shortener within 75 minutes. The focus should be on implementing core features that meet the main functional requirements. Scalability and database design concerns should be secondary and only briefly discussed if time permits.

Functional Requirements:

  1. Short Link Generation:
    • Given a URL, the service should generate a shorter and unique alias (short link).
    • The short link should be easy to copy and paste into applications.