본문 바로가기 메뉴 바로가기

H!GHR

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

H!GHR

검색하기 폼
  • 기록하고 정리하기 (97)
    • 월간 미생 (4)
    • JAVA (23)
      • 디자인패턴 (4)
    • DB (10)
      • Mysql (6)
      • Oracle (1)
    • Spring (9)
    • Javascript (4)
    • 오픈API (3)
    • 기초CS (31)
      • 자료구조 (1)
      • 알고리즘 (30)
    • 아키텍처 (1)
    • DevTool (1)
    • Git (2)
    • APP (1)
      • Notice (1)
    • Book (4)
    • 토이프로젝트 (4)
  • 방명록

codility (4)
[Codility] Lesson 3 : FrogJmp (자바/JAVA)

https://app.codility.com/programmers/lessons/3-time_complexity/frog_jmp/ FrogJmp coding task - Learn to Code - Codility Count minimal number of jumps from position X to Y. app.codility.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 class Solution { public int solution(int X, int Y, int D) { // write your code in Java SE 8 int cnt = 0; while(X Colored by Color Scripter 역시 루프는 시간복잡도를 잡아먹는 괴물같다

기초CS/알고리즘 2019. 8. 18. 23:20
[Codility] Lesson 2 : CyclicRotation (자바/JAVA)

https://app.codility.com/programmers/lessons/2-arrays/cyclic_rotation/ CyclicRotation coding task - Learn to Code - Codility Rotate an array to the right by a given number of steps. app.codility.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 class Solution { public int[] solution(int[] A, int K) { if(A.length == 1) { return A; } int remainder = K % A.length; //배열 ..

기초CS/알고리즘 2019. 7. 16. 18:17
[Codility] Lesson 2 : OddOccurrencesInArray (자바/JAVA)

https://app.codility.com/programmers/lessons/2-arrays/odd_occurrences_in_array/ OddOccurrencesInArray coding task - Learn to Code - Codility Find value that occurs in odd number of elements. app.codility.com 배열 안에 있는 수 중, 짝이 없는 애만 찾아서 리턴하면 된다. 처음에 시도한 방법 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 class Solution { public int solution(int[] A) { int answer = 0; for(int i = 0..

기초CS/알고리즘 2019. 7. 16. 00:38
[Codility] Lesson 1 : BinaryGap (자바/JAVA)

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 이진법 사이에 있는 0의 개수를 구하면 된다. 1001이면 2 1000이면 0 1000101이면 3 으로 리턴하면 된다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 import java.util.ArrayList;..

기초CS/알고리즘 2019. 7. 16. 00:05
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • My Github
TAG
  • 카카오인턴
  • 맵 api
  • Spring
  • FrogJmp
  • cgv
  • 안드로이드 스튜디오
  • json
  • API
  • 프로그래머스
  • 기능개발
  • 파이팅코리아
  • 텔레그램
  • 예매 알림
  • 쇠막대기
  • 최솟값
  • K번째수
  • 자바
  • AWS
  • 더 나은 내일
  • 노션트렐로광고X
  • 문자열 내 마음대로 정렬하기
  • 타겟 넘버
  • java
  • 알고리즘
  • 스프링 부트
  • 124 나라의 숫자
  • 다음 맵 api
  • codility
  • 객체지향과 디자인패턴
  • 완주하지 못한 선수
more
«   2026/01   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바