본문 바로가기

전체 글

(49)
[Java Script] 215. Kth Largest Element in an Array 1. 문제 개요 문제 링크 : 215. Kth Largest Element in an Array Kth Largest Element in an Array - LeetCode Can you solve this real interview question? Kth Largest Element in an Array - Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in the sorted order, not the kth distinct eleme leetcode.com 주어진 배열에서 k번째로 큰값의 인덱스를 반환하는 문제 ..
[Java Script] 212. Word Search II 1. 문제 개요 문제 링크 : 212. Word Search II Word Search II - LeetCode Can you solve this real interview question? Word Search II - Given an m x n board of characters and a list of strings words, return all words on the board. Each word must be constructed from letters of sequentially adjacent cells, where adjacent cells are leetcode.com 주어진 문자열을 활용하여 n 차열 배열을 표로 구성하고(빙고판과 같이) 해당 표의 인접값을 활용하여 주어진 단어중 구성..
[Java Script] 211. Design Add and Search Words Data Structure 1. 문제 개요 문제 링크 : 211. Design Add and Search Words Data Structure Design Add and Search Words Data Structure - LeetCode Can you solve this real interview question? Design Add and Search Words Data Structure - Design a data structure that supports adding new words and finding if a string matches any previously added string. Implement the WordDictionary class: * WordDictionar leetcode.com 트리 구조를 이용..