https://leetcode.com/problems/merge-strings-alternately/Using two pointer reduced the time to append the alphabet.
https://leetcode.com/problems/greatest-common-divisor-of-strings/I tried a lot, but I failed..😟The solution showed me two ways to solve the prob
IMG_0865.jpegI wanted a faster code, and studied with a code in the discussion tab. That person used stream.

My code. I used boolean array to check whether the flower is planted or not.I studied with other codes after I submitted mine.This code checks right a

I used 2 array lists, one for index and the other for vowel char.I studied with other codes. This code uses two pointers. The part I liked was using i

https://leetcode.com/problems/reverse-words-in-a-string/At first, I used StringBuilder and ArrayList then added word in the list. Used one pointe

https://leetcode.com/problems/product-of-array-except-self/I’m quite satisfied with my code because it took relatively little time.BUT!! I want t

https://leetcode.com/problems/string-compression/At first, I didn’t modified the input array by copying each element, but I just put an new array

https://leetcode.com/problems/move-zeroes/I was too obsessed to the two pointers.I didn’t need to move all pointers.This is better solution using

https://leetcode.com/problems/is-subsequence/?envType=study-plan-v2&envId=leetcode-75I used two pointers.

https://leetcode.com/problems/container-with-most-water/?envType=study-plan-v2&envId=leetcode-75My first solving was using brute-force. I new thi

I used brute-force again……..that’s because I forgot that I could do Arrays.sort …I should study java more. I forgot too many of java.Second code is ne

I solved it with sum of sliding window.This is not bad, but I saw a clean version of my code. I liked the way after the first loop. After the first lo

https://leetcode.com/problems/maximum-number-of-vowels-in-a-substring-of-given-length/At first, I thought sliding window would be slower than loo
I wanted to use sliding window, but it was kind of hard for me to think of a way to change the size of the window.At first, I thought to save the inde
https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element/?envType=study-plan-v2&envId=leetcode-75The solution is almost sa