Solutions for LeetCode Problems
Enjoy!!! 🍌🐒
Reverse String
•Posted: Aug 11, 2021 •Updated: Jul 3, 2024
Write a function that reverses a string. The input string is given as an array of characters. Ex) 1 Input...

Contains Duplicate
•Posted: Aug 6, 2021 •Updated: Jul 3, 2024
Given an integer array nums, return true if any value appears at least twice, and return false if every...

Remove Duplicates from Sorted Array
•Posted: Jul 3, 2021 •Updated: Jul 3, 2024
Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each...

Valid Anagram
•Posted: Jul 2, 2021 •Updated: Jul 3, 2024
Given two strings s and t, return true if t is an anagram of s, and false otherwise. Ex 1) Input...

Climbing Stairs Solution 2
•Posted: Jul 1, 2021 •Updated: Jul 3, 2024
You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps...
