일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 최강의 인생
- JavaScript
- 배열
- Where
- 코딩공부
- 코딩테스트
- 자바스크립트
- 개발자의 책장
- Algorithms
- 재귀함수
- Programmers
- SQL
- select
- Hackerrank
- 정규표현식
- join
- Developer_JoyKim
- array.push()
- 코플릿
- MySQL
- node.js
- for문
- 블록체인
- 역행자
- 개발자_조이킴
- 프로그래머스
- 알고리즘
- array
- 코드스테이츠
- array.slice()
- Today
- Total
목록전체 글 (209)
CodingSpace
Problem. Strings - CamelCase Link. https://www.hackerrank.com/challenges/camelcase/problem?isFullScreen=true CamelCase | HackerRank www.hackerrank.com Description. There is a sequence of words in CamelCase as a string of letters, s, having the following properties: It is a concatenation of one or more words consisting of English letters. All letters in the first word are lowercase. For each of t..
What: 뷰 (View) 뷰 생성 (Create) CREATE VIEW (뷰 이름) AS (실행문); ex) CREATE VIEW section_view AS SELECT section_id, section_name FROM sections; 뷰 제거 (Delete) DROP VIEW (뷰 이름) ex) DROP VIEW section_view; 다중 기본키 추가 ALTER TABLE (테이블명) ADD PRIMARY KEY (컬럼명1, 컬럼명2); ex) ALTER TABLE people ADD PRIMARY KEY (first_name, last_name); 뷰를 사용하는 이유 보안성 - 테이블 구조 및 내용 숨기기 편의성 - 복잡한 쿼리 사전 구현 References. For Developer. ..
Problem. Implementation - Cut the sticks Link. https://www.hackerrank.com/challenges/cut-the-sticks/problem?isFullScreen=true Cut the sticks | HackerRank Given the lengths of n sticks, print the number of sticks that are left before each cut operation. www.hackerrank.com Description. You are given a number of sticks of varying lengths. You will iteratively cut the sticks into smaller sticks, dis..
What: 기본키 (Primary Key) 기본키 변경하기 (제거) ALTER TABLE (테이블명) DROP PRIMARY KEY; ex) ALTER TABLE people DROP PRIMARY KEY; 기본키 변경하기 (추가) ALTER TABLE (테이블명) ADD PRIMARY KEY (컬럼명); ex) ALTER TABLE people ADD PRIMARY KEY (last_name); 다중 기본키 추가 ALTER TABLE (테이블명) ADD PRIMARY KEY (컬럼명1, 컬럼명2); ex) ALTER TABLE people ADD PRIMARY KEY (first_name, last_name); 고유키 (Unique Key) 외래키 (Foreign Key) 외래키 추가 ALTER TAB..
What: NFT를 민팅하게되면 NFT의 metadata를 불러올 수 있는 주소를 입력하게 된다. 이 주소가 바로 tokenURI 대다수의 경우 metadata를 Pinata를 이용해 ipfs에 저장하고, tokenURI의 형태는 ipfs://{CID}가 됨 하지만 NFT의 metadata가 변할 수 있는 서비스(ex. M2E)가 생겨남에 따라 tokenURI에 API 서버의 주소를 입력하는 사례가 생겨남 여기서 주의해야할 점은 API 서버의 주소를 tokenURI를 사용한다면, 꼭 http or https를 입력해줘야함! 올바른 tokenURI 입력값: https://all-con.kr 잘못된 tokenURI 입력값: api.all-con.kr 만약 http or https를 제외한 도메인 주소를 입력..
Problem. Warmup - Compare the Triplets Link. https://www.hackerrank.com/challenges/compare-the-triplets/problem?isFullScreen=true Compare the Triplets | HackerRank Compare the elements in two triplets. www.hackerrank.com Description. Alice and Bob each created one problem for HackerRank. A reviewer rates the two challenges, awarding points on a scale from 1 to 100 for three categories: problem c..
Problem. Warmup - Staircase Link. https://www.hackerrank.com/challenges/staircase/problem?isFullScreen=true Staircase | HackerRank Print a right-aligned staircase with n steps. www.hackerrank.com Description. Key Point. My Answer. 'use strict'; process.stdin.resume(); process.stdin.setEncoding('utf-8'); let inputString = ''; let currentLine = 0; process.stdin.on('data', function(inputStdin) { in..
Problem. Implementation - Repeated String Link. https://www.hackerrank.com/challenges/repeated-string/problem?isFullScreen=true Repeated String | HackerRank Find and print the number of letter a's in the first n letters of an infinitely large periodic string. www.hackerrank.com Description. There is a string, s, of lowercase English letters that is repeated infinitely many times. Given an intege..