- Today
- Total
목록스터디 (249)
작심삼일
이 게시판에서는 매일메일이라는 시스템을 이용해 백엔드를 공부해보고자하는 AI 개발자가 정리해보고자 합니다.Python이랑 비교하여 이해하기 쉽도록 합니다.https://www.maeil-mail.kr/question/29 매일메일 - 기술 면접 질문 구독 서비스기술 면접 질문을 매일매일 메일로 보내드릴게요!www.maeil-mail.kr 용어 및 질문 이해하기 EntityManager는 JPA에서 데이터 저장·조회·삭제 등을 처리하는 핵심 도구이다. 여기서 영속성 컨텍스트라는 것이 등장한다. 영속성 컨텍스트는 JPA가 엔티티(객체)를 관리하는 메모리 공간이다. 즉, 계속 영속성 컨텍스트에 저장해두고 있다가, 저장할 타이밍(commit)에 한꺼번에 DB로 반영할 때 사용한다.답변JPA에서는 객체(=엔티티)..
이 게시판에서는 매일메일이라는 시스템을 이용해 백엔드를 공부해보고자하는 AI 개발자가 정리해보고자 합니다.Python이랑 비교하여 이해하기 쉽도록 합니다.https://www.maeil-mail.kr/question/28 매일메일 - 기술 면접 질문 구독 서비스기술 면접 질문을 매일매일 메일로 보내드릴게요!www.maeil-mail.kr용어 및 질문 이해하기 JPA의 ddl-auto 옵션은 각각 어떤 동작을 하고 어떤 상황에서 사용해야 할까요?Spring Data JPA를 사용할 때, application.yml 또는 application.properties는 다음과 같이 작성한다.spring: jpa: hibernate: ddl-auto: updateddl-auto는 데이터베이스 테이블..
이 게시판에서는 매일메일이라는 시스템을 이용해 백엔드를 공부해보고자하는 AI 개발자가 정리해보고자 합니다.Python이랑 비교하여 이해하기 쉽도록 합니다.https://www.maeil-mail.kr/question/27 매일메일 - 기술 면접 질문 구독 서비스기술 면접 질문을 매일매일 메일로 보내드릴게요!www.maeil-mail.kr용어 및 질문 이해하기 Spring Data JPA에서 새로운 Entity인지 어떻게 판단할까? 나는 Spring Data JPA라는 것부터 몰라서 이것부터 찾아봤다.간단하게 말하면 Spring Data JPA라는 것은 다음과 같다.복잡한 SQL 없이, 자바 코드로 DB에 데이터를 저장하고 꺼낼 수 있게 해주는 Spring의 기술 Spring Data JPA는 이런 일을 ..
문제 링크: https://leetcode.com/problems/detect-capital/description/ 문제 We define the usage of capitals in a word to be right when one of the following cases holds: All letters in this word are capitals, like "USA". All letters in this word are not capitals, like "leetcode". Only the first letter in this word is capital, like "Google". Given a string word, return true if the usage of capitals in it ..
문제 링크: https://leetcode.com/problems/house-robber/description/ 문제 You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security systems connected and it will automatically contact the police if two adjacent houses were broken into on the same n..
문제 링크: https://leetcode.com/problems/climbing-stairs/description/ 문제 You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 조건 1

문제 링크: https://leetcode.com/problems/leaf-similar-trees/description/ 문제 Consider all the leaves of a binary tree, from left to right order, the values of those leaves form a leaf value sequence. For example, in the given tree above, the leaf value sequence is (6, 7, 4, 9, 8). Two binary trees are considered leaf-similar if their leaf value sequence is the same. Return true if and only if the two..
문제 링크: https://leetcode.com/problems/middle-of-the-linked-list/ 문제 Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. 조건 The number of nodes in the list is in the range [1, 100]. 1 0: head = head.next half -= 1 return head