■ 문제 원본 사이트: https://www.hackerrank.com/challenges/sherlock-and-valid-string/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=strings Sherlock and the Valid String | HackerRank Remove some characters from the string such that the new string's characters have the same frequency. www.hackerrank.com 난이도: Medium 최대 스코어: 35 ● 문제 요약 문자열 s가 주어짐 한 개의 문자는 제거 가능 모든..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/ctci-making-anagrams/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=strings Strings: Making Anagrams | HackerRank How many characters should one delete to make two given strings anagrams of each other? www.hackerrank.com 난이도: Easy 최대 스코어: 25 ● 문제 요약 첫 번째 문자열의 문자를 재배열하여 두 번째 문자열을 형성할 수 있는 경우 두 문자열은 서로의 애..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/alternating-characters/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=strings Alternating Characters | HackerRank Calculate the minimum number of deletions required to convert a string into a string in which consecutive characters are different. www.hackerrank.com 난이도: Easy 최대 스코어: 20 ● 문제 요약 문자 'A' 또는 ..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/ctci-bubble-sort/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=sorting Sorting: Bubble Sort | HackerRank Find the minimum number of conditional checks taking place in Bubble Sort www.hackerrank.com 난이도: Easy 최대 스코어: 30 ● 문제 요약 > 기본 버블 정렬 for (int i = 0; i < n; i++) { for (int j = 0; j < n - 1; j++) { /..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/fraudulent-activity-notifications/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=sorting Fraudulent Activity Notifications | HackerRank Print the number of times a customer receives a notification www.hackerrank.com 난이도: Medium 최대 스코어: 40 ● 문제 요약 특정 날짜에 고객이 지출한 금액이 이전의 일정 날짜동안 평균적(median 값으로 정함)으로 지출한 금..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/mark-and-toys/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=sorting Mark and Toys | HackerRank You are Mark's best friend and have to help him buy as many toys as possible. www.hackerrank.com 난이도: Easy 최대 스코어: 35 ● 문제 요약 Mark는 아들을 위한 장난감을 사고 싶어함 Mark가 지출할 수 있는 금액은 정해져있음 최대한 많은 수의 장난감을 사려고 함 장난감 가격 목록(p..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/new-year-chaos/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=arrays New Year Chaos | HackerRank Determine how many bribes took place to get a queue into its current state. www.hackerrank.com 난이도: Medium 최대 스코어: 40 ● 문제 요약 새해 첫 날 사람들은 롤러코스터를 타기 위해 줄을 서 있는 상태 사람들은 모두 1부터 n까지의 queue에서 자신의 초기 위치를 나타내는 스티커를..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/ctci-array-left-rotation/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=arrays Arrays: Left Rotation | HackerRank Given an array and a number, d, perform d left rotations on the array. www.hackerrank.com 난이도: Easy 최대 스코어: 20 ● 문제 요약 Left Rotation(왼쪽 회전): 배열의 각 요소를 왼쪽으로 1칸씩 이동한 것 n 개의 정수로 구성된 배열 a와 숫자 d가..
■ 문제 원본 사이트: https://www.hackerrank.com/challenges/2d-array/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=arrays 2D Array - DS | HackerRank How to access and use 2d-arrays. www.hackerrank.com 난이도: Easy 최대 스코어: 15 ● 문제 요약 6 X 6 배열이 주어짐 hourglass(모래시계)는 I 모양으로 이루어진 패턴에 해당하는 인덱스들의 하위집합을 의미 hourglass sum은 hourglass(모래시계) 값들의 합계 모든 hourglass(모래시계)에 대한 hourg..
function getMedian(arr) { // arr.sort((a, b) => { return a - b; }); console.log('arr=', arr); const max = arr.reduce((acc, cur, idx) => { if(arr[idx] > acc){ acc = arr[idx]; } return acc; }, 0); let counts = []; for(let i=0; i
Ubuntu 에서 hostname을 ubuntu에서 node1으로 변경한 이후 sudo 명령을 실행할 때마다 다음과 같은 에러 메시지가 발생했다. sudo: unable to resolve host node1: 연결 시간 초과 명령이 제대로 실행되지 않는 것은 아니지만 계속해서 저 메시지가 뜨니까 거슬리기 시작했다. 그래서 찾아본 해결 방법! 위와 같은 오류 메시지는 hostname이 일치하지 않아서 발생하는 경우다. 만약 hostname을 바꾸고 싶다면 다음과 같이 두 군데를 수정해주어야 한다. /etc/hostname /etc/hosts 나의 경우에는 /etc/hostname만 수정해주었기 때문에 /etc/hosts에 설정된 hostname과 일치하지 않아 위의 오류가 출력되는 것이다. # /etc/..
- Total
- Today
- Yesterday
- ubuntu
- 알고리즘
- 빅데이터 강의
- 빅데이터
- Hyperledger Fabric v1.1
- ambrosus
- Hyperledger Fabric
- 블록 체인
- 코테
- Hyperledger Fabric v1.2
- javascript
- 어서와 데이터는 처음이지
- codility
- docker
- 문제풀이
- 빅데이터 기초
- 하이퍼레저 패브릭
- 암브로셔스
- 기초 of 기초 데이터 개념
- 직딩잇템
- 하이퍼레저 페브릭
- 빅데이터 교육
- 하이퍼레저 인디
- 코딜리티
- 블록체인
- Hyperledger Indy
- Private Data
- Blockchain
- 코딩테스트
- DOCs
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |