리트코드 Js
-
[Algorithm] LeetCode - 49. Group Anagrams (Hash Table, Sorting, String)Alogorithm 2022. 4. 18. 21:19
LeetCode 문제입니다. [문제설명] Given an array of strings strs, group the anagrams together. You can return the answer in any order. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. 번역) 문자열 배열이 주어지면 "Anagram은"을 함께 그룹화하십시오. 어떤 순서로든 답변을 반환할 수 있습니다. "Anagram"은 일반적으로 모든 원래 문자를 정확히 한 번 사용하여 다른 단어 또는 구의 문자를 재배..
-
[Algorithm] LeetCode - 1817. Finding the Users Active Minutes(Hash)Alogorithm 2022. 1. 23. 16:28
LeetCode 문제입니다. [문제설명] You are given the logs for users' actions on LeetCode, and an integer k. The logs are represented by a 2D integer array logs where each logs[i] = [IDi, timei] indicates that the user with IDiperformed an action at the minute timei. Multiple users can perform actions simultaneously, and a single user can perform multiple actionsin the same minute. The user active minutes (U..