Skip to content

Instantly share code, notes, and snippets.

View jeremiq's full-sized avatar
:octocat:
hacking, climbing, proving theorems

Jeremiah Edwards jeremiq

:octocat:
hacking, climbing, proving theorems
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jeremiq on github.
  • I am jeremiq (https://keybase.io/jeremiq) on keybase.
  • I have a public key ASAeKD4-B_hzKdcor--XypFU8CY-JdUGs4q811mzfKptcgo

To claim this, I am signing this object:

import heapq
from typing import List
def kthsmallest1(l: List[int], k: int) -> int: # nlogk
if k > len(l):
return min(l)
l = [-1 * elt for elt in l]
{
"cells": [
{
"cell_type": "code",
"execution_count": 33,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
@jeremiq
jeremiq / springer-free-maths-books.md
Created December 28, 2015 17:24 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests