leetcode

    LeetCode(1)::Two Sum

    문제 Two Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Given an array of Integers nums and an integer target Return indices of the two numbers such that they add up to target Rules Not use the szme element twice Only one valid answer exists Solution 완전탐색(Brute Force) : 단순 완전탐..

    LeetCode(13)::Roman to Integer

    문제 Roman to Integer - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com > Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 Rules I can be placed before V (5) and X (10) to make 4 and 9. (IV : 5, IX : ..