본문 바로가기 메뉴 바로가기

개발 노트

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

개발 노트

검색하기 폼
  • 분류 전체보기 (65)
    • android (38)
    • linux (4)
    • React Native (8)
    • Mongo DB (2)
    • Mac (1)
    • javascript (1)
    • algorithm (1)
    • kotlin (7)
  • 방명록

algorithm (1)
bfs dfs 프로그래머스 타겟 넘버 문제

js numbers = [n,n,n,n,n]; target = n; ex) func([1,1,1,1,1],3); function bfs(numbers, target) { let answer = 0; getAnswer(0, 0); function getAnswer(x, value) { if (x < numbers.length) { getAnswer(x + 1, value + numbers[x]); getAnswer(x + 1, value - numbers[x]); } else { if (value === target) { answer++; } } } return answer; } function bfs(numbers, target) { let answer = 0; let tmp = numbers.shift..

algorithm 2021. 4. 23. 17:39
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • MongoDB
  • 귀찮아;;
  • https://medium.com/@limgyumin/%EC%BD%94%ED%8B%80%EB%A6%B0-%EC%9D%98-apply-with-let-also-run-%EC%9D%80-%EC%96%B8%EC%A0%9C-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94%EA%B0%80-4a517292df29
  • ubunut android
  • ubunut 설치 link
  • 차번호 정규식
  • 구글 맵 선그리기
  • React Native
  • text 부분 색 칠하기
  • 안드로이드
  • adb 환경변수
  • 클래스형 코드
  • rn
  • 명령어
  • nosql
  • 함수형 코드
  • https://hwan-shell.tistory.com/244
  • 데이터베이스
  • Android
  • insert
  • mac android
  • spannableText
  • not working adb
  • 자바
  • 구글 맵 경로 그리기
  • mongo db
  • react native state
  • not starting .bash_profile
  • 차번호 정규표현식
  • not found adb
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바