반응형 leetcode4 Leetcode [Java] :: 58. Length of Last Word 🎁 문제 링크 https://leetcode.com/problems/length-of-last-word/description/ 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 cons.. 코딩테스트/Leetcode 2023. 9. 2. LeetCode [Java] :: 35. Search Insert Position 🎁 문제 링크 https://leetcode.com/problems/search-insert-position/ Search Insert Position - LeetCode Can you solve this real interview question? Search Insert Position - Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You must w leetcode.com 🎁 문제 설명 Given a sorted array of d.. 코딩테스트/Leetcode 2023. 8. 29. LeetCode [Java] :: 7. Reverse Integer 🎁 문제 링크 https://leetcode.com/problems/reverse-integer/description/ Reverse Integer - LeetCode Can you solve this real interview question? Reverse Integer - Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-231, 231 - 1], then return 0. Assume the envir leetcode.com 🎁 문제 설명 Given a signed 32- bit int.. 코딩테스트/Leetcode 2023. 8. 29. [Leetcode] 976. Largest Perimeter Triangle [Java] 🎁 문제 링크 https://leetcode.com/problems/largest-perimeter-triangle/description/ Largest Perimeter Triangle - LeetCode Can you solve this real interview question? Largest Perimeter Triangle - Given an integer array nums, return the largest perimeter of a triangle with a non-zero area, formed from three of these lengths. If it is impossible to form any triangle of a non-zer leetcode.com 🎁 문제 설명 Give.. 코딩테스트/Leetcode 2023. 8. 23. 이전 1 다음