굉장히 개인적인 저장소

굉장히 개인적인 저장소

  • 분류 전체보기 (18)
    • 문제해결 (1)
    • Program (1)
      • Java (1)
      • JavaScript (0)
      • Thymeleaf (0)
    • OS (1)
      • Linux (1)
    • 알고리즘 (15)
      • LeetCode (15)
    • 커리어 (0)
    • 토이 프로젝트 (0)
      • Project A (0)
    로그인
    로그아웃 글쓰기 관리

    굉장히 개인적인 저장소

    컨텐츠 검색

    태그

    프로그래밍 기초 AJAX 내일배움카드 Linux 바이트디그리 JavaScript Cors Proxy java K-디지털크레딧 패스트캠퍼스 LeetCode #프로그래밍 첫걸음 시작하기

    최근글

    댓글

    공지사항

    아카이브

    java(15)

    • [LeetCode] 6. Zigzag Conversion (Java)

      Description The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows: string convert(string s, int numRows); 주어진 숫자의 행으로 이..

      2023.01.02
    • [LeetCode] 5. Longest Palindromic Substring (Java)

      Description Given a string s, return the longest palindromic substring in s. string s에서 가장 긴 거꾸로 읽어도 같은 substring을 구하라. Example 1: Input: s = "babad" Output: "bab" Explanation: "aba" is also a valid answer. Example 2: Input: s = "cbbd" Output: "bb" Constraints: 1

      2023.01.02
    • [LeetCode] 4. Median of Two Sorted Arrays (Java) - O(log (m+n))

      Solution class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { int index1 = 0, index2 = 0; int answer1 = 0, answer2 = 0; for(int i=0;i

      2023.01.02
    • [LeetCode] 4. Median of Two Sorted Arrays (Java)

      Description Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 주어진 두 개의 배열의 중앙값(크기 순서에서 가장 가운데의 값)을 구하라 Example 1: Input: nums1 = [1,3], nums2 = [2] Output: 2.00000 Explanation: merged array = [1,2,3] and median is 2. Example 2: Input: nums1 = [1,2], nums2 = [3,4] Output: 2.5000..

      2022.12.30
    • [LeetCode] 3. Longest Substring Without Repeating Characters (Java)

      Description Given a string s, find the length of the longest substring without repeating characters. 반복되는 문자가 없는 가장 긴 문자열의 길이를 구하라. Example 1: Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: s = "bbbbb" Output: 1 Explanation: The answer is "b", with the length of 1. Example 3: Input: s = "pwwkew" Output: 3 Explanation: The answer is "wke"..

      2022.12.28
    • [LeetCode] 2. Add Two Numbers (Java)

      Description You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself. 음수가 아닌 한 자리 정수로 구성된 리스트가 두 개 주어진다. 리스트가 나타내는 는 거꾸로 들어있다. 두 수를 더해라. ..

      2022.12.28
    이전
    1 2 3
    다음
    © 2018 TISTORY. All rights reserved.

    티스토리툴바