전체 글

성장일기
알고리즘/자료구조

[LeetCode] 242. Valid Anagram - Java

Valid Anagram - LeetCode Can you solve this real interview question? Valid Anagram - Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using leetcode.com 문제 더보기 Given two strings s and t, return true if t is an anagram of s, and false otherwise. An Anagram ..

알고리즘/자료구조

[LeetCode] 383. Ransom Note - Java

Ransom Note - LeetCode Can you solve this real interview question? Ransom Note - Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise. Each letter in magazine can only be used once in ranso leetcode.com 문제 더보기 Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using t..

알고리즘/자료구조

[LeetCode] 219. Contains Duplicate II - Java

Contains Duplicate II - LeetCode Can you solve this real interview question? Contains Duplicate II - Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i - j)

알고리즘/자료구조

[LeetCode] 1. Two Sum - Java

Two Sum - LeetCode Can you solve this real interview question? Two Sum - Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not leetcode.com 문제 더보기 Given an array of integers nums and an integer target, return indices of the two numbers such that they..

알고리즘/자료구조

[LeetCode] 150. Evaluate Reverse Polish Notation - Java

Evaluate Reverse Polish Notation - LeetCode Can you solve this real interview question? Evaluate Reverse Polish Notation - You are given an array of strings tokens that represents an arithmetic expression in a Reverse Polish Notation [http://en.wikipedia.org/wiki/Reverse_Polish_notation]. Evaluate t leetcode.com 문제 더보기 You are given an array of strings tokens that represents an arithmetic expres..

jny0
J N Y 0