thisisnew (매일 코딩, 매일 독서)

고정 헤더 영역

글 제목

메뉴 레이어

thisisnew (매일 코딩, 매일 독서)

메뉴 리스트

  • 홈
  • 태그
  • 전체보기 (164)
    • Development (131)
      • Go (5)
      • Java (7)
      • Servlet (1)
      • Spring (0)
      • Docker (17)
      • Elasticsearch (4)
      • Linux (16)
      • Algorithm (72)
      • Deployment (1)
      • Javascript (1)
      • Regular Expression (7)
    • Diary (9)
    • Review (24)
      • Book (19)
      • Book(DEV) (4)
      • Movie (1)

검색 레이어

thisisnew (매일 코딩, 매일 독서)

검색 영역

컨텐츠 검색

전체보기

  • [Codility] StrSymmetryPoint (Go)

    2023.01.05 by thisisnew

  • [Codility] ParityDegree (Go)

    2023.01.04 by thisisnew

  • [Codility] ParkingBill (Go)

    2023.01.03 by thisisnew

  • [Codility] BinaryGap (Go)

    2023.01.02 by thisisnew

  • [백준] 2154번 수 이어 쓰기 3 (Go)

    2022.12.30 by thisisnew

  • [백준] 2804번 크로스워드 만들기 (Go)

    2022.12.28 by thisisnew

  • [백준] 3028번 창영마을 (Go)

    2022.12.27 by thisisnew

  • [백준] 1969번 DNA (Go)

    2022.12.26 by thisisnew

[Codility] StrSymmetryPoint (Go)

https://app.codility.com/programmers/trainings/4/str_symmetry_point/ StrSymmetryPoint coding task - Practice Coding - Codility Find a symmetry point of a string, if any. app.codility.com Task description Write a function: func Solution(S string) int that, given a string S, returns the index (counting from 0) of a character such that the part of the string to the left of that character is a rever..

Development/Algorithm 2023. 1. 5. 16:29

[Codility] ParityDegree (Go)

https://app.codility.com/programmers/trainings/5/parity_degree/ ParityDegree coding task - Practice Coding - Codility Find the highest power of 2 that divides N. app.codility.com Task description A positive integer N is given. The goal is to find the highest power of 2 that divides N. In other words, we have to find the maximum K for which N modulo 2^K is 0. For example, given integer N = 24 the..

Development/Algorithm 2023. 1. 4. 00:01

[Codility] ParkingBill (Go)

https://app.codility.com/programmers/trainings/5/parking_bill/start/ Codility Your browser is not supported Please, update your browser or switch to a different one. Learn more about what browsers are supported app.codility.com Task description You parked your car in a parking lot and want to compute the total cost of the ticket. The billing rules are as follows: The entrance fee of the car park..

Development/Algorithm 2023. 1. 3. 01:01

[Codility] BinaryGap (Go)

https://app.codility.com/programmers/lessons/1-iterations/binary_gap/ BinaryGap coding task - Learn to Code - Codility Find longest sequence of zeros in binary representation of an integer. app.codility.com Task description A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, ..

Development/Algorithm 2023. 1. 2. 12:35

[백준] 2154번 수 이어 쓰기 3 (Go)

https://www.acmicpc.net/problem/2154 2154번: 수 이어 쓰기 3 첫째 줄에 N(1 ≤ N ≤ 100,000)이 주어진다. www.acmicpc.net 문제 1부터 N까지의 수를 이어서 쓰면 다음과 같이 새로운 하나의 수를 얻을 수 있다. 1234567891011121314151617181920212223... 이렇게 만들어진 새로운 수에서 N이 등장하는 위치를 알고 싶다. 물론 1부터 N까지의 수를 이어 쓰는 것이므로 수의 가장 끝부분에서 N이 항상 등장하게 되지만, 그보다 일찍 등장하는 경우도 있다. 예를 들어 N=151인 경우, 다음과 같이 앞에서 20번째 숫자부터 151이 등장하게 된다. 1234567891011121314151617181920212223... N이 ..

Development/Algorithm 2022. 12. 30. 17:02

[백준] 2804번 크로스워드 만들기 (Go)

https://www.acmicpc.net/problem/2804 2804번: 크로스워드 만들기 A의 길이를 N, B의 길이를 M이라고 했을 때, 출력은 총 M줄이고, 각 줄에는 N개 문자가 있어야 한다. 문제 설명에 나온 것 같이 두 단어가 교차된 형태로 출력되어야 한다. 나머지 글자는 '.'로 출력 www.acmicpc.net 문제 창영이는 크로스워드 퍼즐을 만들려고 한다. 두 단어 A와 B가 주어진다. A는 가로로 놓여야 하고, B는 세로로 놓여야 한다. 또, 두 단어는 서로 교차해야 한다. (정확히 한 글자를 공유해야 한다) 공유하는 글자는 A와 B에 동시에 포함되어 있는 글자여야 하고, 그런 글자가 여럿인 경우 A에서 제일 먼저 등장하는 글자를 선택한다. 마찬가지로 이 글자가 B에서도 여러 번 ..

Development/Algorithm 2022. 12. 28. 00:01

[백준] 3028번 창영마을 (Go)

https://www.acmicpc.net/problem/3028 3028번: 창영마을 첫째 줄에 정인이가 컵을 섞은 순서가 주어진다. 이 순서는 A, B, C중 하나이고, 문제에 있는 그림을 참고하면 된다. 정인이는 컵을 최대 50번 섞는다. www.acmicpc.net 문제 상근이와 정인이는 창영마을에 살고 있다. 창영마을은 전세계에서 가장 평화로운 마을로 알려져 있다. 이 마을의 이장은 상근이다. 정인이는 항상 상근이의 자리를 질투하고 있다. 정인이는 상근이가 이장의 자격이 없다는 것을 속임수를 이용해서 사람들에게 알려주려고 한다. 먼저 정인이는 불투명한 컵 세 개를 일렬로 탁자 위에 올려놓고, 가장 왼쪽 컵에 작은 공 하나를 넣어놓았다. 이제 정인이는 컵 2개를 위치를 바꿔가면서 여러 번 섞을것이..

Development/Algorithm 2022. 12. 27. 00:01

[백준] 1969번 DNA (Go)

https://www.acmicpc.net/problem/1969 1969번: DNA DNA란 어떤 유전물질을 구성하는 분자이다. 이 DNA는 서로 다른 4가지의 뉴클레오티드로 이루어져 있다(Adenine, Thymine, Guanine, Cytosine). 우리는 어떤 DNA의 물질을 표현할 때, 이 DNA를 이루는 뉴클레오 www.acmicpc.net 문제 DNA란 어떤 유전물질을 구성하는 분자이다. 이 DNA는 서로 다른 4가지의 뉴클레오티드로 이루어져 있다(Adenine, Thymine, Guanine, Cytosine). 우리는 어떤 DNA의 물질을 표현할 때, 이 DNA를 이루는 뉴클레오티드의 첫글자를 따서 표현한다. 만약에 Thymine-Adenine-Adenine-Cytosine-Thymi..

Development/Algorithm 2022. 12. 26. 00:01

추가 정보

인기글

최신글

페이징

이전
1 2 3 4 5 ··· 21
다음
Github LinkedIn
thisisnew (매일 코딩, 매일 독서)
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바