# Search Results

7 items found

- String To Integer - Leetcode #8 Short & Simple Solution
This is another article in the series leetcode problem solutions and this article is a solution to leetcode Example 3 Input: s = "4193 with words" Output: 4193 Solution This problem is rated medium difficulty in leetcode

- 3 Sum - Leetcode #15 Short & Simple Solution
Problem Statement This is another article in the series leetcode problem solutions and this article is a solution to leetcode 15 three sum problem.

- Two Sum - Leetcode #1 Short & Simple Solution
Problem Statement This is another article in the series leetcode problem solutions and this article is a solution to leetcode 1 two sum problem.

- Reverse Integer - Leetcode #7 Short & Simple Solution
In our previous article we solved the two sum problem.This is another article in the series leetcode problem solutions and this article is a solution to leetcode 7 two sum problem. This step is similar to the leetcode 8 problem where we had to move converted digit to its correct base As in leetcode 8 problem we can accomplish this by multiplying result with 10 and then adding the currentDigit

- Palindrome Number - Leetcode #9 Short & Simple Solution
This is another article in the series leetcode problem solutions and this article is a solution to leetcode Output: false Example 3 Input: x = 10 Output: false Solution This is one of the easier problems on leetcode This step is similar to the leetcode 8 problem where we had to move converted digit to its correct base As in leetcode 8 problem we can accomplish this by multiplying reversedNum with 10 and then adding the

- Container With Most Water: LeetCode #11 Short & Simple Solution
This is another article in the series leetcode problem solutions and this article is a solution to leetcode

- Longest Substring Without Repeating Characters - Leetcode #3 Short & Simple Solution
This is another article in the series leetcode problem solutions and this article is a solution to leetcode