본문 바로가기

Developer

(62)
기술면접 질문 - Spring 1. 스프링 프레임워크란? : 자바 플랫폼을 위한 오픈소스 애플리케이션 프레임워크 : 동적인 웹 사이트 개발하기 위한 여러 가지 서비스를 제공함 : 대한민국 공공기관의 웹 서비스 개발 시 사용을 권장하고 있는 전자정부 표준프레임워크의 기반 기술. 2. 스프링프레임워크의 특징은? DI (Dependency Injection) 의존성 주입 : 설정 파일이나 어노테이션을 통해 객체간의 의존 관계를 설정하여 개발자가 직접 의존하는 객체를 생성할 필요없음 Spring AOP(Aspect Oriented Programming) 관점 지향 프로그래밍 : 트랜잭션, 로깅, 보안 등 여러 모듈, 여러 계층에서 공통으로 필요로 하는 기능의 경우 해당 기능을 분리해 관리. POJO(Plain Old Java Object) ..
면접질문 정리 ( Java & Database ) 💡 Java의 특징을 설명해주세요. Java는 객체지향 프로그래밍 언어입니다. 기본 자료형을 제외한 모든 요소들이 객체로 표현되고, 객체 지향 개념의 특징인 (OOP)캡슐화, 상속, 다형성이 잘 적용된 언어입니다. 장점 JVM(자바가상머신) 위에서 동작하기 때문에 운영체제에 독립적이다. GabageCollector를 통한 자동적인 메모리 관리가 가능하다. 단점 JVM 위에서 동작하기 때문에 실행 속도가 상대적으로 느리다. 다중 상속이나 타입에 엄격하며, 제약이 많다 💡 Java의 컴파일 과정에 대해 설명해주세요. 개발자가 .java 파일을 생성한다. build를 한다. java compiler의 javac의 명령어를 통해 바이트코드(.class)를 생성한다. Class Loader를 통해 JVM 메모리 ..
Leetcode - Two Sum 1. Two Sum Easy Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. Example 1: Input: nums = [2,7,11,15], target = 9 Output: [0,1] Output: Because nums[0] + nums[1] == 9, we return..
LeetCode Start 1716. Calculate Money in Leetcode Bank Easy Hercy wants to save money for his first car. He puts money in the Leetcode bank every day. He starts by putting in $1 on Monday, the first day. Every day from Tuesday to Sunday, he will put in $1 more than the day before. On every subsequent Monday, he will put in $1 more than the previous Monday. Given n, return the total amount of money he will have ..
알고리즘 python 원소 덧붙이기 .append() 원소 하나를 꺼내기 .pop() i.pop(2) 원소 삽입하기 .insert() i = [20, 37, 58, 72] i.insert [3, 5] 원소 삭제하기 .del() del(i[2]) 원소 탐색하기: .index() i.index('Spam') 함수 def add(x, y): n = x + y return n sort : 정렬 파이썬 내장 함수 sorted() 리스트에 쓸 수 있는 메서드 .sort() i.sort() index : 위치 반환 index(x) 함수는 리스트에 x 값이 있으면 x의 위치 값을 돌려준다. >>> a = [1,2,3] >>> a.index(3) 2 >>> a.index(1) 0 find(찾을문자, 찾기시작할위치) >>> s = '가나다라 ..
Cracking the Coding Interview: 189 Programming Questions and Solutions https://www.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/098478285 Amazon.com Enter the characters you see below Sorry, we just need to make sure you're not a robot. For best results, please make sure your browser is accepting cookies. www.amazon.com
GitHub 첫커밋 Error 해결방법 git config --get-all user.name https://youtu.be/yDntCIs-IJM
참고자료 https://hianna.tistory.com/422 [Javascript] 배열 중복 제거하는 3가지 방법 Javascript의 배열에서 중복 되는 값을 제거하는 3가지 방법을 알아보도록 하겠습니다. 1. Set 2. indexOf(), filter() 3. forEach(), includes() 1. Set Javascript에서 Set 객체를 이용하면 중복없는 데이터를.. hianna.tistory.com