I hereby claim:
- I am zpriddy on github.
- I am zpriddy (https://keybase.io/zpriddy) on keybase.
- I have a public key whose fingerprint is 3800 BC66 323B DE6C 9534 FF23 A14F 83D8 4949 D540
To claim this, I am signing this object:
from datetime import datetime, timedelta, date | |
from math import floor | |
from typing import Union | |
class Person: | |
"""This is a person object | |
Args: | |
name: name of the person |
def calculate_price(prices): | |
final = 0 | |
stack = [] | |
for index, price in enumerate(prices): | |
if (stack): | |
if price > stack[-1][0]: | |
stack.append((price, index)) | |
else: | |
while (stack and price <= stack[-1][0]): |
I hereby claim:
To claim this, I am signing this object: