Container With Most WaterLeetcode Problem Given an array of different height values, find the two "banks" that produce the most water valume. Note that water will be limited by the lowest bank. This is a two-pointer problem. Pseudocode Declare a left and right pointer, as w...May 6, 2024 路 1 min readjimboslice.hashnode.dev
Koko Eating Bananas馃敆 Leetcode Problem Koko Eating Bananas is a binary search problem where we help Koko determine how many bananas Koko needs to eat if Koko were to eat the minimum number of bananas in such a way that there are no bananas left after H hours. Pseudocod...May 5, 2024 路 2 min readjimboslice.hashnode.dev
LeetCode 3SumLink to Problem Description: given an array of numbers, return all unique triplets that add up to 0 Pseudocode Sort the array Declare an empty array result Loop over the sorted array and for each iteration: within the loop . . . Check if the inde...May 5, 2024 路 2 min readjimboslice.hashnode.dev
Mac Docker and Postgres - a Quick Start GuideRunning Postgres on your mac doesn't have to be hard. Let's look at a super fast way to get up and running with Postgres. 1) Install Docker Head over to the Docker Website, sign up, install docker, and login to the docker app. Now open a terminal and...Jun 16, 2023 路 2 min readjimboslice.hashnode.dev
The Power of Routine: Unlocking Potential Through FitnessAs the sun rises, most people are still in the warm embrace of their beds. Not me. For the past year, I've cultivated a daily fitness routine that's transformed me physically, mentally, and emotionally. By alternating between lifting weights and cycl...Apr 17, 2023 路 2 min readjimboslice.hashnode.dev