본문 바로가기

분류 전체보기93

[FetchType.Lazy로 인한 Json 오류] Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException 1. 오류 FetchType.Lazy로 인한 Json 오류 There was an unexpected error (type=Internal Server Error, status=500). Type definition error: [simple type, class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor and no properties disco.. 2022. 1. 14.
[프로그래머스:JAVA] K번째 수 문제 설명 배열 array의 i번째 숫자부터 j번째 숫자까지 자르고 정렬했을 때, k번째에 있는 수를 구하려 합니다. 예를 들어 array가 [1, 5, 2, 6, 3, 7, 4], i = 2, j = 5, k = 3이라면 array의 2번째부터 5번째까지 자르면 [5, 2, 6, 3]입니다. 1에서 나온 배열을 정렬하면 [2, 3, 5, 6]입니다. 2에서 나온 배열의 3번째 숫자는 5입니다. 배열 array, [i, j, k]를 원소로 가진 2차원 배열 commands가 매개변수로 주어질 때, commands의 모든 원소에 대해 앞서 설명한 연산을 적용했을 때 나온 결과를 배열에 담아 return 하도록 solution 함수를 작성해주세요. 제한사항 array의 길이는 1 이상 100 이하입니다. a.. 2021. 12. 9.
[알고리즘] CH18. 탐욕 알고리즘 보호되어 있는 글 입니다. 2021. 12. 9.
[알고리즘] CH17. 그래프 탐색 알고리즘 보호되어 있는 글 입니다. 2021. 12. 8.
[알고리즘] CH16. 그래프 보호되어 있는 글 입니다. 2021. 12. 6.
[알고리즘] CH15. 탐색 알고리즘 보호되어 있는 글 입니다. 2021. 12. 6.