an array of solar panels

LeetCode 53 Maximum subarray

Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.

bullish market statue

LeetCode 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 (i.e., buy one and sell one share of the stock), design an algorithm to find the maximum profit.

endless staircase

LeetCode 70 Climbing Stairs

You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

a single mushroom, single number

LeetCode 136 Single Number

Given a non-empty array of integers nums, every element appears twice except for one. Find that single one.

missing number markers on a map

LeetCode 268 Missing Number

Given an array nums containing n distinct numbers in the range `[0, n]`, return the only number in the range that is missing from the array.

not found

Deficient code knowledge

My first time at LeetCode, a platform for anyone to practice programming skills by solving coding questions, I was strucked by how much I did not understand the prompt question itself for their popular "easy" challenge two sum.

A pile of books on the table

Hero's Journey

This is my journey to mastering data structures and algorithms, both for myself, helpinng further develop my coding and analitical skills, as well as for being able to have an opportunity at cracking the coding interview