stack
-
Next Greater Element I알고리즘 2019. 7. 29. 17:41
LeetCode 496번 Tags. Stack https://leetcode.com/problems/next-greater-element-i/ Next Greater Element I - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next gr..
-
Backspace String Compare알고리즘 2019. 7. 29. 17:34
LeetCode 844번 Tags. Two Pointers, Stack https://leetcode.com/problems/backspace-string-compare/ Backspace String Compare - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a b..