You are given two strings word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than t
For two strings s and t, we say "t divides s" if and only if s = t + t + t + ... + t + t (i.e., t is concatenated with itself one or more times).Given
There are n kids with candies. You are given an integer array candies, where each candiesi represents the number of candies the ith kid has, and an in
You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.Given an inte
345. Reverse Vowels of a String Given a string s, reverse only all the vowels in the string and return it. The vowels are 'a', 'e', 'i', 'o', and 'u'
Given an input string s, reverse the order of the words.A word is defined as a sequence of non-space characters. The words in s will be separated by a
238. Product of Array Except Self Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements
🗒️ CodeKata 진행 중 어려웠던 부분을 정리하여 기록합니다.
✔️ Hash : Key-value쌍으로 데이터를 빠르게 찾아보세요.