Skip to content

Instantly share code, notes, and snippets.

View netEmmanuel's full-sized avatar
🦅
Crushing it

Emmanuel Oyelakin netEmmanuel

🦅
Crushing it
View GitHub Profile
@egavrilov
egavrilov / setup.sh
Last active February 16, 2023 15:29 — forked from bradp/setup.sh
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github and Gitlab \n"
echo "https://github.com/account/ssh \n"
echo "https://gitlab.com/profile/keys \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install
@jayant91089
jayant91089 / leetcode-bloomberg.md
Last active September 27, 2024 23:38
Answers to leetcode questions tagged 'Bloomberg'

121 Best Time to Buy and Sell Stock

Say you have an array for which the ith element is the price of a given stock on day i.

If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit.

Example 1: Input: [7, 1, 5, 3, 6, 4] Output: 5

@hofmannsven
hofmannsven / README.md
Last active October 22, 2024 13:29
Git CLI Cheatsheet