LeetCode/Kotlin | Easy(32)
-
[LeetCode/Kotlin]Easy - 121. Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock - LeetCode Can you solve this real interview question? Best Time to Buy and Sell Stock - You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosin leetcode.com 문제 You are given an array prices where prices[i] is the price of a given stock on the..
2023.05.11 -
[LeetCode/Kotlin]Easy - 20. Valid Parentheses
Valid Parentheses - LeetCode Can you solve this real interview question? Valid Parentheses - Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: 1. Open brackets must be closed by the sam leetcode.com 문제 Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if th..
2023.05.09