본문 바로가기

Leetcode #5 Longest Palindromic Substring Writer: Steven, LeeDate: 11/23, SundayPurpose: Solving #5 Longest Palindromic SubstringLevel: MediumPercentage: 25.7% have solved this problem 한국어 버전은 밑에 있습니다. Caution1: Before you read the solution that I used, you need to solve this problem by yourself Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: #1 In..
Leetcode #4 Median of Two Sorted Array Writer: Steven, LeeDate: 11/23, SundayPurpose: Solving #4 Median of Two Sorted ArrayPercentage: 24.4% have solved this problem 한국어 버전은 밑에 있습니다. Caution1: Before you read the solution that I used, you need to solve this problem by yourself Description: There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall runtime complexity ..
Leetcode #3 Longest Substring Without Repeating Characters Writer: Steven, LeeDate: 11/23, FridayPurpose: Solving #3 Longest Substring Without Repeating Characters.Percentage: 25.3% have solved this problem 한국어 버전은 밑에 있습니다. Caution1: Before you read the solution that I used, you need to solve this problem by yourself Description: Given a string, find the length of the longest substring without repeating characters. Example: #1 Input: "abcabcbb" Output: ..
Leetcode #1 TwoSum Writer: Steven, LeeDate: 11/23, FridayPurpose: Solving #1 TwoSum of leetcodePercentage: 39.2% have solved this problem 한국어 버전은 밑에 있습니다. Caution1: Before you read the solution that I used, you need to solve this problem by yourself Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactl..
소개 Introduction Data Structures and Algorithm * 소개글 * 이 페이지에서 앞으로 데이터 구조와 알고리즘을 leetcode, 코드잼, 카카오 블라인드 입사 문제 등 다양한 곳에 있는 수준 높은 문제들을 풀어보고자 합니다. 특히, 제 솔루션과 함께 글을 올릴 예정이니 만약 제 코드에서 부족한 부분이 있거나 다른 방법이 있다면 댓글에 남겨주세요. * 블로그를 하게 된 계기 * 이번년도 1학기 초기에 데이터 구조를 수강했기에 저는 이 부분에 자신감이 있었지만 최근에 크게 낙담했던 사건이 있었습니다. 알고리즘에 자신있다고 말했던 제가 leetcode에 있는 hard 문제 하나를 일주일 동안 붙잡고 있었고 심지어 그 문제를 한달이 되서야 겨우 풀었던 것입니다. 항상 교수님께서 말씀하신 것 중에서 컴공은 적..