목록전체 글 (382)
Priv's Blog
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dZpdnI/btruE8O4rlJ/wlPqQav7tmkG9CuRTo95nK/img.jpg)
출처 Quiz: Apply object-oriented principles - Unity Learn This quiz will assess your understanding of the concepts covered in the Junior Programmer: Apply object-oriented principles mission. learn.unity.com 문제 1 참 또는 거짓: 일반적으로 클래스들은 각 클래스가 1가지 목적만 가지도록 구성되고 작성되어야 합니다. 참 거짓 - 정답 더보기 답: 1 여러분의 클래스들을 1가지 목적만 가지도록 작성하면 가독성이 높아지고 디버깅도 수월해집니다. 문제 2 C#에서 메서드 확장 기능을 사용하는 이유는 무엇인가요? 확장 메서드에 더 많은 매개변수를 추가하기..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/DrmL6/btruG0XLAvS/Xbq1UHE5GTUzIpUWYYuSF0/img.jpg)
출처 Job preparation: Junior Programmer - Unity Learn In this tutorial, you’ll review guidance on: Evidencing your progress Updating your portfolio and resume Preparing for interviews learn.unity.com 1. 서언 Junior Programmer 패스웨이 마지막 튜토리얼에 도달하신 걸 축하드립니다! 이번 시간에 배우게 될 마지막 튜토리얼에서는 여러분의 여정에 대한 것입니다. 여러분이 지금 당장 구직할 기회가 없더라도, 지금까지의 전문성 개발 과정을 고려해볼 수 있는 좋은 기회가 될 것입니다. 2. 자격증(certification) 고려해보기 Career r..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/8cHhJ/btrtVpLdpsj/YzQdjbMpbzN0rgsYHjzYCk/img.jpg)
출처 Profile code to identify issues - Unity Learn In this tutorial, you’ll learn how to use the Profiler to analyze a scene and identify where optimization bottlenecks are occurring. By the end of this tutorial, you will be able to: Deduce the script method that uses the most CPU time (vs. a script meth learn.unity.com 1. 서언 여러분의 프로젝트를 마무리하고 퍼블리싱을 준비할 때, 리펙토링 도중이나 리펙토링 후에 코드에 남아 있는 병목 현상들을 식별하고 해..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/baZgcQ/btrs2sJGzLm/ScMPIrGkhgak4nZhqs4Jak/img.jpg)
출처 Encapsulation in object-oriented programming - Unity Learn In this tutorial, you’ll learn about the second pillar in object-oriented programming: encapsulation. Explain how encapsulation is used to write code that can only be used as intended by the programmer Control access to data within a class by applying en learn.unity.com 1. 서언 추상화처럼 캡슐화 또한 여러분의 코드와 해당 코드를 사용하는 다른 코드 사이의 근본적인 복잡성과 독립 수준..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ehJtZB/btrstLoq0gd/2RKlZfl9UdXN4WGouT96dK/img.jpg)
출처 Inheritance and polymorphism in object-oriented programming - Unity Learn In this tutorial, you’ll learn about inheritance and polymorphism, two closely related pillars of OOP. Explain how inheritance is used to share functionality between a parent and child class Define the relationship between a parent and child class, inclu learn.unity.com 1. 서언 객체지향 프로그래밍의 다른 기둥 2개는 상속과 다형성이며, 이 두 가지는 밀접하..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bRxspX/btrrW3a1rPX/bPATkbkFSIHGXFSnAkKo40/img.jpg)
출처 Abstraction in object-oriented programming - Unity Learn In this tutorial, you’ll learn about the first pillar of object-oriented programming: Abstraction. By the end of this tutorial, you will be able to: Explain how abstraction is used to expose only necessary script components Expose only the important deta learn.unity.com 1. 서언 이제 여러분은 기존의 코드를 사용해 작업하고 외부 기능(리펙토링(Refactoring)이라 불리는 프로세스)을..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lbCZF/btrrEUNGScj/NsY9qsRvSBqKTGg9TIWsv0/img.png)
1. 배낭 문제 (Knapsack Problem) 무게와 가격이 다른 여러 물건 중, 가장 효율적으로 배낭을 채우는 방법을 찾아내는 문제. 2. 브루트 포스 검색법 (Brute Force Search) 모든 경우의 수를 나열한 후, 그중에서 최선의 해결책을 찾는 방법이다. 확실하게 가장 좋은 방법을 찾아낼 수 있지만 시간이 매우 오래 걸린다. 2.1) 브루트 포스 검색법으로 배낭 문제 해결하기 아무것도 넣지 않은 경우, 무게에는 문제가 없지만 이득도 없다. 보석을 1개씩 넣은 경우, 모든 경우가 최대 무게를 넘지 않으며, 금괴를 넣었을 때 이득이 가장 크다. 보석을 2개씩 넣은 경우, 수정 + 루비 조합을 제외하고는 모두 최대 무게를 초과하며, 가격은 14억으로 금괴 1개만 넣을 때보다 이득이 크다. 보..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b6tyvE/btrrDo9lMek/h0comA9kfy26AhjIvuU9b0/img.png)
1. 트리 (Tree) 데이터 사이의 계층 관계를 표현하는 자료구조. 노드(Node)와 가지(Edge)로 구성되며, 트리의 각 노드는 가지를 통해 다른 노드와 연결된다. 2. 트리 관련 용어 루트 (Root): 트리의 가장 위쪽에 있는 노드. 트리마다 1개만 존재한다. 리프 (Leaf): 가지가 더 이상 뻗어나갈 수 없는 노드. 단말 노드 (Terminal Node) 또는 외부 노드 (Internal Node)라고도 부른다. 비단말 노드 (Non-Terminal Node): 루트 노드를 포함하여 리프를 제외한 모든 노드. 내부 노드(Internal Node)라고도 부른다. 부모 노드 (Parent Node): 특정 노드와 가지가 연결되었을 때 가장 위쪽에 있는 노드. 노드의 부모는 1개이다. 루트 노드는..