차가운세상

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

lesson3 3

코딜리티(Codility) Lesson3 TapeEquilibrium 문제풀기

A non-empty array A consisting of N integers is given. Array A represents numbers on a tape. Any integer P, such that 0 < P < N, splits this tape into two non-empty parts: A[0], A[1], ..., A[P − 1] and A[P], A[P + 1], ..., A[N − 1]. The difference between the two parts is the value of: |(A[0] + A[1] + ... + A[P − 1]) − (A[P] + A[P + 1] + ... + A[N − 1])| In other words, it is the absolute differ..

IT/Algorithm 2021.03.04

코딜리티(Codility) Lesson3 PermMissingElem 문제풀기

An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one element is missing. Your goal is to find that missing element. Write a function: class Solution { public int solution(int[] A); } that, given an array A, returns the value of the missing element. For example, given array A such that: A[0] = 2 A[1] = 3 A[2] =..

IT/Algorithm 2021.03.02

코딜리티(Codility) Lesson3 FrogJmp 문제풀기

A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed distance, D. Count the minimal number of jumps that the small frog must perform to reach its target. Write a function: function solution(X, Y, D); that, given three integers X, Y and D, returns the mini..

IT/Algorithm 2021.02.28
1
더보기
프로필사진

  • 분류 전체보기 (47)
    • IT (47)
      • 자바스크립트 (4)
      • React + TypeScript (11)
      • javascript 정규식 (1)
      • SNS 로그인 (2)
      • IPhone개발 (12)
      • Algorithm (11)
      • 프론트엔드 정보 (2)
      • Gatsby (2)
      • CSS (1)
      • GIT (1)

Tag

gatsby, JavaScript, 로그인, 코딩테스트, react, webpack, 문제풀기, 문제풀이, redux, 비교, lesson4, codility, package.json, login, SNS로그인, 코딜리티, 알고리즘, lesson3, 자바스크립트, array,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 무늬만 개발자 블로그.

티스토리툴바