/users
/posts
/slides
/apps
/books
mysetting
/users
/posts
/slides
/apps
/books
11:08 5/30
velog.io
11:08
velog.io
psj.log
https://velog.io/@psj0810
백엔드개발자
저작도구: velog
최종 피드 수집: 2025-03-28 17:46
전체 (129)
1d
교점에 별 만들기
문제 풀이 흐름
모든 직선 쌍에 대해 반복
A. 교점 좌표 구하기
B. 정수 좌표만 저장
저장된 정수들에 대해 x,y 좌표의 최대값, 최소값구하기
구한 최대값, 최솟값을 이용하여 2차원 배열의 크기 결정
2차원 배열에 별 표시
0
0
0
읽기모드
3d
git 명령어 제대로 공부하기
git merge
💡 Merge는 "내가 현재 있는 브랜치에 다른 브랜치를 합치는 것"이다.
git checkout feature/board
git merge develop
"develop의 내용을 feature/board 브랜
0
0
0
읽기모드
7d
리액트
props란?
props는 부모 컴포넌트가 자식 컴포넌트에게 데이터를 전달하는 방법입니다.
구조분해할당이란?
구조 분해 할당(Destructuring Assignment)은 JavaScript의 핵심 문법 중 하나예요.
복잡한 객
0
0
0
읽기모드
7d
회원가입 기능[백엔드]
UserController
@PostMapping("/signup")
public ResponseEntity<Response<?>> signUp(@RequestBody UserRequest userRequest) {
use
0
0
0
읽기모드
7d
개발중 이슈 해결
포트를 kil해도 계속 생성될때
특정포트 검색
lsof -i :80
맨앞에 뜨는 프로세스이름 찾아서 전부 죽이기
sudo killall [프로세스이름]
mac 터미널 alias 설정법
[mac 터미널 alias 설정법] (http
0
0
0
읽기모드
8d
디버깅
문제가 발생한 문구를 코드내에서 어디위치에서 발생하는지 찾는다.
다른 코드를 따라 입력했는데 문제가 발생한경우 내가 따라입력할때 어느부분을 내입맛대로 바꿨는지 체크해볼것
0
0
0
읽기모드
8d
SpringSecurity
@Configuration
@EnableWebSecurity
public class SecurityConfig {
@Bean
public SecurityFilterChain securityFilterChain(Htt
0
0
0
읽기모드
9d
메인메모리와 캐시메모리
클럭(Clock)
컴퓨터 내부의 모든 부품이 일정한 속도로 동작하도록 동기화하는 역할을 합니다. 쉽게 말해, 컴퓨터의 '박자'를 맞춰주는 메트로놈(지휘자)과 같은 역할을 합니다.
컴퓨터가 전원이 켜지고 시스템이 작동하는 동안 계속
0
0
0
읽기모드
10d
주사의 게임1 (Math.abs() - 숫자의 절대값)
내풀이
class Solution {
public int solution(int a, int b) {
int answer = 0;
if(!evenOrOdd(a) && !evenOrOdd(b)){
0
0
0
읽기모드
10d
간단한 식 계산하기(split()- 문자열 배열로 저장하기)
내풀이
class Solution {
public int solution(String binomial) {
int answer = 0;
String[] arr = binomial.split("
0
0
0
읽기모드
10d
l로 만들기(String을 배열 변환없이 글자 추가하는법 !!!중요!!!)
내풀이
class Solution {
public String solution(String myString) {
String answer = "";
char[] charArr = myString
0
0
0
읽기모드
10d
마지막 두 원소 (Arrays.copyOf)
내풀이
import java.util.*;
class Solution {
public int[] solution(int[] num_list) {
int[] answer = Arrays.copyOf(num_li
0
0
0
읽기모드
10d
(select) is not null, like, date_format
3월에 태어난 여성 회원 목록 출력하기
내풀이
SELECT member_id,
member_name,
gender,
date_format(date_of_birth, '%Y-%m-%
0
0
0
읽기모드
12d
글자 이어 붙여 문자열 만들기(문자열에서 한글자씩 추출 - charAt())
내풀이
class Solution {
public String solution(String my_string, int[] index_list) {
StringBuilder sb = new StringBuild
0
0
0
읽기모드
12d
접미사 배열(Arrays.sort, 오름차순,내림차순 정렬
내풀이
import java.util.*;
class Solution {
public String[] solution(String my_string) {
String[] answer = new String[m
0
0
0
읽기모드
12d
문자열의 앞의 n글자(문자열 자르기-substring, indexOf)
내풀이
class Solution {
public String solution(String my_string, int n) {
String answer = "";
answer = my_strin
0
0
0
읽기모드
12d
접두사인지 확인하기(startsWith, endsWith)
내풀이
import java.util.*;
class Solution {
public int solution(String my_string, String is_prefix) {
int answer = 0;
0
0
0
읽기모드
12d
순서 바꾸기(배열합치기, IntStream.concat())
내풀이
import java.util.*;
import java.util.stream.*;
class Solution {
public int[] solution(int[] num_list, int n) {
i
0
0
0
읽기모드
24d
공백으로 구분하기2(배열-isEmpty(), List->String배열 변환)
내풀이
import java.util.*;
class Solution {
public String[] solution(String my_string) {
String[] answer ={};
a
0
0
0
읽기모드
25d
원소들의 곱과 합(스트림-reduce, getAsInt 같은값에 반복해서 연산하기)
import java.util.*;
class Solution {
public int solution(int[] num_list) {
int answer =0;
int sum = Arrays.s
0
0
0
읽기모드
About
Badge
Contact
Activity
Terms of service
Privacy Policy