Solutions for LeetCode Problems
Enjoy!!! 🍌🐒

Reverse String

By: Jay the Code Monkey
Posted: Aug 11, 2021 Updated: Apr 18, 2023

Write a function that reverses a string. The input string is given as an array of characters. Ex) 1 Input...

LeetCode - Reverse String Post Picture

Contains Duplicate

By: Jay the Code Monkey
Posted: Aug 6, 2021 Updated: Apr 18, 2023

Given an integer array nums, return true if any value appears at least twice, and return false if every...

LeetCode - Contains Duplicate Post Picture

Remove Duplicates from Sorted Array

By: Jay the Code Monkey
Posted: Jul 3, 2021 Updated: Apr 18, 2023

Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each...

LeetCode - Remove Duplicates from Sorted Array Post Picture

Valid Anagram

By: Jay the Code Monkey
Posted: Jul 2, 2021 Updated: Apr 18, 2023

Given two strings s and t, return true if t is an anagram of s, and false otherwise. Ex 1) Input...

LeetCode - Valid Anagram Post Picture

Climbing Stairs Solution 2

By: Jay the Code Monkey
Posted: Jul 1, 2021 Updated: Apr 18, 2023

You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps...

LeetCode - Climbing Stairs Solution 2 Post Picture

Made by & for Code Monkeys 🐵