Code RecipeDec 29, 20214 min readString To Integer - Leetcode #8 Short & Simple SolutionThis is a solution to leetcode 8 problem. Implement myAtoi(string s) function, which converts a string to a 32-bit signed integer.
Code RecipeDec 22, 20218 min readLongest Substring Without Repeating Characters - Leetcode #3 Short & Simple SolutionThis is a solution to leetcode 3 problem. For a given input string s, return the length of the longest substring in s, without repeating cha
Code RecipeNov 30, 20215 min readContainer With Most Water: LeetCode #11 Short & Simple SolutionConsider you are given n non-negative integers say a1, a2, ..., an, where each element in the array represents a point at coordinate (i, ai)