leetcode

20200414 Programing
[leetcode] 1408. String Matching in an Array
Given an array that contains some words. You should return all the string that is part of other strings. The order does not matter....

20200410 Programing
[leetcode] Backspace String Compare  30Day LeetCoding Challenge Day 9
Two string that might contain "#" are given. "#" means backspace, so the last letter before "#" is supposed to remove from the string. Afte...

20200409 Programing
[leetcode] 198. House Robber
An array that contains the only integer is given as an argument. And sum up the element of value and find the sum of the maximum. However, y...

20200409 Programing
[leetcode] Middle of the Linked List  30Day LeetCoding Challenge Day 8
A node that made by Linked List is given. You need to return the middle of the node. If the length of node is odd, return second middle node...

20200404 Programing
[leetcode] 189. Rotate Array
One array that contains only integer, and one integer named "k" are given. you should rotate the array by the index of k and return it....

20200404 Programing
[leetcode] Maximum Subarray  30Day LeetCoding Challenge Day 3
The array that contains integer is given. The integer might be positive and negative as well. You need to find the the sub array that has th...

20200403 Programing
[leetcode] Happy Number  30Day LeetCoding Challenge Day 2
A positive number is given. Each digit should multiply by itself and calculate the sum of them, which is called "happy number". And then, th...

20200403 Programing
[leetcode] 235. Lowest Common Ancestor of a Binary Search Tree
Binary Search Tree is given. BST is a tree structure that the value of every parent's nodes is greater than the left child node and less tha...

20200402 Programing
[leetcode] 599. Minimum Index Sum of Two Lists
Two array lists that have restaurant names are given. Then, you need to find a common restaurant name among lists. If some answer exists, yo...

20200402 Programing
[leetcode] Single Number  30Day LeetCoding Challenge Day 1
I started "30Day LeetCoding Challenge" that leetcode provides with algorithm question every day on April, 2020. A lot of computer engineers...