I hereby claim:
- I am jseam2 on github.
- I am jseam (https://keybase.io/jseam) on keybase.
- I have a public key whose fingerprint is E9EA 85C8 0452 7CF0 3A09 BFAA BEFB D1C8 CCCF E445
To claim this, I am signing this object:
""" | |
fib iterative version | |
with memoization | |
""" | |
def fib(n): | |
a, b = 0, 1 | |
for x in range(1, n + 1): | |
a, b = b, a+b | |
return a |
# -*- coding: utf-8 -*- | |
""" | |
no difference | |
""" | |
import time | |
import matplotlib.pyplot as plt | |
table = {0:1} | |
def fact1(n): | |
if n in table: |
import java.util.ArrayList; | |
public class Hailstone{ | |
public static void main(String[] args){ | |
System.out.println(Hail(3)); | |
} | |
public static ArrayList Hail(int n){ | |
ArrayList<Integer> HS = new ArrayList<Integer>(); | |
HS.add(n); | |
I hereby claim:
To claim this, I am signing this object:
def any_win(win_num, additional, my_num): | |
""" | |
Check if there's a win | |
:param win_num: the winning numbers (list of int) | |
:param addtional: additional number (int) | |
:param my_num: my numbers (list of int) | |
:return: Top Category of Win or No Win (str) | |
""" | |
# temporary list |