I recently had the pleasure of graduating from Grace Hopper Academy, a coding bootcamp in New…
This week, Malinda Lin and I decided to work together on a linked list problem from LeetCode in Javascript, and then explain it to some of our peers. Here is the problem:
You are given a singly linked list…
After spending some time working on our solution, despite feeling we could probably optimize further we felt good. So Stephanie Chiang and I decided to take a look at InterviewCake’s solution and compare our approach.
So here’s a prompt from InterviewCake:
“You created a game that is more popular than Angry Birds.
Each round, players receive a score between 0 and 100, which you use to rank them from highest to lowest. So far you’re using an algorithm that…
In Part I of the “Two Number Sum” problem series, my partner soniasusanto took you through the brute force solution as well as an optimized approach that uses sorting and pointers to improve the time complexity.
This marks the beginning of Sooinc’s and my pair programming journey to solve this problem from AlgoExpert. Suppose we have a function that takes in an array of distinct integers and an integer that represents the target sum. How do we find any two integers in the input array that will…