코딩요정 지니

고정 헤더 영역

글 제목

메뉴 레이어

코딩요정 지니

메뉴 리스트

  • 홈
  • 태그
  • 방명록
  • 분류 전체보기 (14)
    • 모바일 (1)
      • Android - Kotlin (1)
      • IOS - Swift (0)
    • 자바 (2)
      • Exception (1)
    • 코딩테스트 (8)
      • 코딜리티 (8)
    • 서버 (1)

검색 레이어

코딩요정 지니

검색 영역

컨텐츠 검색

전체 글

  • Hyper-V Ubuntu Postgres DB서버 구축 - 우분투 iso 부팅 오류

    2025.03.07 by 허허지니

  • [Android] OnActivityResult, StartActivityForResult deprecated

    2024.02.16 by 허허지니

  • Codility Lesson4 - FrogRiverOne

    2023.08.21 by 허허지니

  • Codility Lesson3 - TapeEquilibrium

    2023.08.21 by 허허지니

  • ArrayIndexOutOfBoundsException

    2023.08.21 by 허허지니

  • 함수 참고

    2023.08.21 by 허허지니

  • Codility Lesson3 - PermMissingElem

    2023.08.09 by 허허지니

  • Codility Lesson3 - FrogJmp

    2023.08.08 by 허허지니

Hyper-V Ubuntu Postgres DB서버 구축 - 우분투 iso 부팅 오류

[Ubuntu 다운로드]- Ubuntu 24.04.2 LTS- https://ubuntu.com/download/desktop Download Ubuntu Desktop | UbuntuUbuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.ubuntu.com  [Hyper-V 사용 설정]- Windows 기능 켜기/끄기 실행- Hyper-V 체크 후 확인  [Hyper-V 가상컴퓨터 생성]- Hyper-V 관리자 실행- 새로 만들기 -> 가상 컴퓨터 - 2세대 / 2048MB 메모리 / Default Switch 설정- 부팅 가..

서버 2025. 3. 7. 20:39

[Android] OnActivityResult, StartActivityForResult deprecated

기존에 사용하던 StartActivityResult -> OnActivityResult 로 동작하던 콜백 메소드가 deprecated 됨 - 기존 소스 private fun takePhoto() { Intent(MediaStore.ACTION_IMAGE_CAPTURE).also{intent-> intent.putExtra(MediaStore.EXTRA_OUTPUT, uri) intent.resolveActivity(activity?.packageManager!!)?.also{ startActivityForResult(intent, REQUEST_IMAGE_CAPTURE) // OnActivityResult 실행 } } } - 변경 소스 private val savePhoto = registerForAct..

모바일/Android - Kotlin 2024. 2. 16. 20:45

Codility Lesson4 - FrogRiverOne

A small frog wants to get to the other side of a river. The frog is initially located on one bank of the river (position 0) and wants to get to the opposite bank (position X+1). Leaves fall from a tree onto the surface of the river. 작은 개구리는 강의 반대편으로 가고 싶어합니다. 개구리는 처음에 강의 한쪽 둑(위치 0)에 위치하고 반대쪽 둑(위치 X+1)으로 가고 싶어합니다. 나뭇잎이 나무에서 강의 표면으로 떨어집니다. You are given an array A consisting of N integers represen..

코딩테스트/코딜리티 2023. 8. 21. 19:01

Codility Lesson3 - TapeEquilibrium

A non-empty array A consisting of N integers is given. Array A represents numbers on a tape. N개의 정수로 구성된 비어 있지 않은 배열 A가 제공됩니다. 배열 A는 테이프의 숫자를 나타냅니다. Any integer P, such that 0

카테고리 없음 2023. 8. 21. 17:18

ArrayIndexOutOfBoundsException

https://docs.oracle.com/javase/8/docs/api/?java/lang/ArithmeticException.html Java Platform SE 8 docs.oracle.com Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array. 잘못된 인덱스를 사용하여 배열에 액세스했음을 나타냅니다. 인덱스가 음수이거나 배열 크기보다 크거나 같습니다.

카테고리 없음 2023. 8. 21. 16:55

함수 참고

https://developer.mozilla.org/ko/

자바 2023. 8. 21. 15:46

Codility Lesson3 - PermMissingElem

An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactly one element is missing. 서로 다른 N개의 정수로 구성된 배열 A가 제공됩니다. 배열에는 [1..(N + 1))] 범위의 정수가 포함되어 있는데, 이는 정확히 하나의 요소가 누락되었음을 의미합니다. Your goal is to find that missing element. 당신의 목표는 누락된 요소를 찾는 것입니다. Write a function: class Solution { public int solution(int[] A); } that, ..

코딩테스트/코딜리티 2023. 8. 9. 19:29

Codility Lesson3 - FrogJmp

A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed distance, D. 작은 개구리는 도로의 다른 쪽으로 가고 싶어합니다. 그 개구리는 현재 위치 X에 위치하고 있고 Y보다 크거나 같은 위치에 가고 싶어합니다. 그 작은 개구리는 항상 고정된 거리인 D를 점프합니다. Count the minimal number of jumps that the small frog must perform to reach its ..

코딩테스트/코딜리티 2023. 8. 8. 11:00

추가 정보

인기글

최신글

페이징

이전
1 2
다음
TISTORY
코딩요정 지니 © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바