본문 바로가기

놀고 싶어요

검색하기
놀고 싶어요
프로필사진 챌린지

  • 분류 전체보기 (48)
    • Algorithm (3)
      • BOJ (0)
      • Programmers (3)
      • SWEA (0)
    • Java (3)
    • Spring (1)
    • JPA (4)
    • JavaScript (0)
    • Database (2)
    • Python (1)
    • R (25)
    • 기타 (4)
    • 영어 (5)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/01   »
일 월 화 수 목 금 토
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
Tags
  • cor()
  • java
  • git
  • summary()
  • 머신러닝
  • Spring
  • git오류
  • Eclipse
  • str()
  • Q타입클래스
  • 한글깨지는문제
  • queryDSL
  • Rstudio
  • r
  • querydsl적용하기
  • 프로그래머스
  • core.autocrlf
  • R프로그래밍
  • 알고리즘
  • RProgramming
  • R명령어
  • DTO사용이유
  • 이중배열
  • stepfilter
  • programmers
  • 머신러닝프로세스
  • JPA
  • LIKE검색
  • 이클립스
  • 자바
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Algorithm (1)

놀고 싶어요

[Programmers/Java] 프로그래머스 타겟 넘버 문제풀이

문제 분류가 떡하니 DFS/BFS로 되어 있다. 문제를 읽다보니 bit masking으로도 풀이가 가능해서 bit masking으로 풀이한 코드를 공유하려고 한다. 비트 마스킹을 이용한 풀이 class Solution { public int solution(int[] numbers, int target) { int answer = 0; // 0 ~ 2^(numbers.length-1) for (int i = 0; i < (1

Algorithm/Programmers 2021. 10. 17. 22:44
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바