Ffranknateinfranknate.hashnode.dev·May 19, 2023 · 2 min readLeetCode #1 - Two SumProblem Link to the LeetCode Problem: https://leetcode.com/problems/two-sum/. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly ...00
Ffranknateinfranknate.hashnode.dev·May 19, 2023 · 2 min readLeetCode #242 - Valid AnagramProblem Link to the LeetCode problem: https://leetcode.com/problems/valid-anagram/. Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters of a different w...00
Ffranknateinfranknate.hashnode.dev·May 18, 2023 · 2 min readLeetCode #217 - Contains DuplicateProblem Link to the LeetCode problem: https://leetcode.com/problems/contains-duplicate/. Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. Example 1: Input: nums ...00