[LeetCode/Kotlin]Easy - 392. Is Subsequence
·
LeetCode/Kotlin | Easy
Is Subsequence - LeetCode Can you solve this real interview question? Is Subsequence - Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequence of a string is a new string that is formed from the original string by deleting some (can be n leetcode.com 문제 Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A subsequenc..
[LeetCode/Kotlin]Medium - 22. Generate Parentheses
·
LeetCode/Kotlin | Medium
Generate Parentheses - LeetCode Can you solve this real interview question? Generate Parentheses - Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Exa leetcode.com 문제 Given n pairs of parentheses, write a function to generate all combinations of well-formed paren..
[LeetCode/Kotlin]Medium - 1027. Longest Arithmetic Subsequence
·
LeetCode/Kotlin | Medium
Longest Arithmetic Subsequence - LeetCode Can you solve this real interview question? Longest Arithmetic Subsequence - Given an array nums of integers, return the length of the longest arithmetic subsequence in nums. Note that: * A subsequence is an array that can be derived from another array by leetcode.com 문제 Given an array nums of integers, return the length of the longest arithmetic subsequ..
[LeetCode/Kotlin]Easy - 58. Length of Last Word
·
LeetCode/Kotlin | Easy
Length of Last Word - LeetCode Can you solve this real interview question? Length of Last Word - Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only. Example 1: Input: leetcode.com 문제 Given a string s consisting of words and spaces, return the length of the last word in the string..
[LeetCode/Kotlin]Easy - 1356. Sort Integers by The Number of 1 Bits
·
LeetCode/Kotlin | Easy
Sort Integers by The Number of 1 Bits - LeetCode Can you solve this real interview question? Sort Integers by The Number of 1 Bits - You are given an integer array arr. Sort the integers in the array in ascending order by the number of 1's in their binary representation and in case of two or more integ leetcode.com 문제 You are given an integer array arr. Sort the integers in the array in ascendin..
뿌꾸 빵
개발새발 안드로그