오늘의 목표

더보기

✔️ 프로그래머스 코테 문제 풀기

✔️ 챌린지반 수업 참가

✔️ Node.js 심화 강의 듣기


⏱️ 오늘의 일정

프로그래머스 코테 문제 풀기
Node.js 심화 강의 듣기

챌린지반 수업 참가 


📜 프로그래머스 코테 문제 풀기

 

햄버거 만들기

https://github.com/YamSaeng/AlgorithmCodingTest/tree/main/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%A8%B8%EC%8A%A4/1/133502.%E2%80%85%ED%96%84%EB%B2%84%EA%B1%B0%E2%80%85%EB%A7%8C%EB%93%A4%EA%B8%B0

 

AlgorithmCodingTest/프로그래머스/1/133502. 햄버거 만들기 at main · YamSaeng/AlgorithmCodingTest

This is an auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - YamSaeng/AlgorithmCodingTest

github.com

 

function solution(ingredient) {
    var answer = 0;

    let ingredients = [];

    for (let i = 0; i < ingredient.length; i++) {
        ingredients.push(ingredient[i]);

        if (ingredients.length >= 4
            && ingredients[ingredients.length - 1] == 1
            && ingredients[ingredients.length - 2] == 3
            && ingredients[ingredients.length - 3] == 2
            && ingredients[ingredients.length - 4] == 1) {

            answer++;
            ingredients.pop(); // 1
            ingredients.pop(); // 3
            ingredients.pop(); // 2
            ingredients.pop(); // 1
        }
    }

    return answer;
}

 

 

📜 Node.js 심화 강의 듣기

 

캠프에서 제공받은 Node.js 심화 강의를 수강하고 있다.

앞서 언급한 대로 Node.js의 심화 내용이라기보다는

객체지향 프로그래밍과 아키텍처 패턴을 자세히 알아보는 수업이다.

 

2024.09.27 - [IT] - [IT] 객체 지향 설계 5 원칙 ( SOLID )

 

[IT] 객체 지향 설계 5 원칙 ( SOLID )

객체 지향 프로그래밍 및 설계의 다섯 가지 핵심 원칙을 SOLID라고 부른다.SOLID는 객체 지향 프로그래밍 및 설계의 다섯 가지 기본 원칙의 맨 앞단어를 하나씩 가져와 만든 것이다.SOLID 원칙을 따

program-yam.tistory.com

 

2024.09.27 - [IT] - [IT] 아키텍처 패턴 ( Architecture Pattern )

 

[IT] 아키텍처 패턴 ( Architecture Pattern )

아키텍처 패턴은 소프트웨어의 구조를 구성하기위한 가장 기본적인 토대를 제시한다.아키텍처 패턴은 각각의 시스템들과 그 역할이 정의되어 있고, 여러 시스템 사이의 관계와 규칙 등이 포함

program-yam.tistory.com

 

2024.09.27 - [IT] - [IT] 계층형 아키텍처 패턴 ( Layered Architecture Pattern )

 

[IT] 계층형 아키텍처 패턴 ( Layered Architecture Pattern )

계층형 아키텍처 패턴 ( Layered Architecture Pattern )은 시스템을 여러 계층으로 분리하여 관리하는 아키텍처 패턴이다.현재 가장 널리 채택되고 있는 아키텍처 패턴 중 하나다. ( Spring, Nest.js을 사용

program-yam.tistory.com

 

객체 지향 설계 원칙 ( SOLID )와 아키텍처 패턴, 계층형 아키텍처 패턴에 대해서 배웠다.

 

📜 챌린지반 수업 듣기

 

이번 수업도 DB에 대한 내용을 배웠다.

트랜잭션의 대한 개념과, ACID 특성, 데이터베이스 보안 ( 인증, 인가 )에 대한 내용을 배웠다.

+ Recent posts