Leetcode journey - Question 11 - Container With Most WaterProblem: Q11. Container With Most Water You are given an integer array height of length n. There are n vertical lines are drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis fo...Dec 22, 2022 · 2 min readimsudip.hashnode.dev
Leetcode journey - Question 1328 - Break a PalindromeProblem: Q1328. Break a Palindrome Given a palindromic string of lowercase English letters palindrome, replace exactly one character with any lowercase English letter so that the resulting string is not a palindrome and that it is the lexicographica...Oct 10, 2022 · 3 min readimsudip.hashnode.dev
Leetcode journey - Question 16 - 3Sum ClosestProblem: Q16. 3Sum Closest Given an integer array nums of length n and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one...1POct 8, 2022 · 3 min readimsudip.hashnode.dev
Leetcode journey - Question 2007 - Find Original Array From Doubled ArrayProblem: Q2007. Find Original Array From Doubled Array An integer array original is transformed into a doubled array changed by appending twice the value of every element in original, and then randomly shuffling the resulting array. Given an array c...Sep 15, 2022 · 3 min readimsudip.hashnode.dev
Leetcode journey - Question 6 - Zigzag ConversionProblem: Q6. Zigzag Conversion The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And t...Sep 8, 2022 · 3 min readimsudip.hashnode.dev