코딜리티를 처음 알게된건 2019년 2월 모회사의 온라인 과제 인터뷰를 진행하면서 였습니다. 그 회사가 채택한 코딩 온라인 과제 플랫폼이 코딜리티 였고, 코딜리티에 나오는 문제(데모 테스트)들을 모두 풀어보았습니다. 코딜리티 후기 코딜리티는 제가 그동안 풀었던 다른 알고리즘 사이트나 코딩인터뷰 사이트와 많이 다르다는 느낌을 받았습니다. 제가 생각하는 코딜리티의 특징은 프로그래밍의 기본에 충실하다는 것이고, 사실은 논리적사고 수준은 크게 염두해두지 않는것 같다는 생각이 들었습니다. 오히려 조금 더 실무적인 느낌이라는 생각이 들 정도였습니다. 특히 코딜리티의 프로그래밍 테스트에는 '꼼꼼함'이 필요하다는 생각이 들었습니다. 주어지지 않은 엣지케이스 까지 포함하여 테스트케이스를 100% 통과해야합니다. 코딜리티..
SqlSum Elementry SELECT sum(v) FROM elements; StrSymmetryPoint Painless Find a symmetry point of a string, if any. class Solution { public int solution(String S) { int sLen = S.length(); if ((sLen & 1) == 0) { return -1; } final int result = sLen / 2; for (int i = result, j = result; j >= 0; i++, j--) { if (S.charAt(i) != S.charAt(j)) { return -1; } } return result; } } TreeHeight Painless class..
[Leetcode] 419. Battleships in a Board leetcode.com/problems/battleships-in-a-board/ Battleships in a Board - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 요렇게 생각할 수 있겠으나 class Solution { public int countBattleships(char[][] board) { int res = 0, m = board.length, n = board[0].le..
MinAbsSum Ambitious Given array of integers, find the lowest absolute sum of elements. app.codility.com/programmers/lessons/17-dynamic_programming/min_abs_sum/ MinAbsSum coding task - Learn to Code - Codility Given array of integers, find the lowest absolute sum of elements. app.codility.com N 개의 정수로 구성된 배열 A와 {-1, 1} 집합에서 N 개의 정수로 구성된 시퀀스 S에 대해 다음과 같이 val (A, S)를 정의합니다. val (A, S) = | sum {A [i..
[100%] FrogRiverOne Find the earliest time when a frog can jump to the other side of a river. Respectable [100%] MaxCounters Calculate the values of counters after applying all alternating operations: increase counter by 1; set value of all counters to current maximum. Respectable [100%] MissingInteger Find the smallest positive integer that does not occur in a given sequence. Painless // you ca..
한번에 다운받을 수 있다. (2020년 11월 30일 버전) 출처: app.codility.com/programmers/lessons/1-iterations/ 1. Iterations lesson - Learn to Code - Codility Find longest sequence of zeros in binary representation of an integer. app.codility.com
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.