Skip to content

Instantly share code, notes, and snippets.

View ber2go's full-sized avatar

Eubert Go ber2go

  • Forest Hills, NY
View GitHub Profile
@ber2go
ber2go / 20210317_steps_to_reduce_to_1.py
Created March 18, 2021 00:01
20210317_steps_to_reduce_to_1
def memoized(num):
def min_operations(num, operations=0):
key = (num, operations)
print(key)
if key in memo:
return memo[key]
if num % 1 != 0 or num < 1:
return math.inf

Keybase proof

I hereby claim:

  • I am ber2go on github.
  • I am ber2 (https://keybase.io/ber2) on keybase.
  • I have a public key ASCLZLdnke1J3qs61OrthugrLuM46GZeysCeUuHNWQx1Nwo

To claim this, I am signing this object:

@ber2go
ber2go / resume.json
Last active May 29, 2020 17:28
Resume
{
"basics": {
"name": "Eubert Go",
"label": "Programmer",
"picture": "",
"email": "eubertgo@gmail.com",
"phone": "(718) 909-6559",
"location": {
"address": "41-31 51st Street Apt. 7G",
"postalCode": "11377",