본문 바로가기
320x100

Blog189

[JSP]동영상 관리 게시판 사용 기술 JSP, MariaDB, JDBC, JQuery, Ajax, Gson, Bootstrap 개발 환경 Eclipse, Tomcat 9.0 개발 기간 3일 버전 관리 Github -> 링크 특징 및 설명 평범한 동영상 관리 게시판이지만 조금의 반응형(?)을 곁들였습니다. 모든 페이지에서 가로 길이가 최소 400px 까지 줄어들어서 모바일 친화적입니다. 미디어 쿼리를 사용한 정도까지는 아니고, css의 calc 함수와 %를 주로 이용했습니다. 주요 기능 목록 조회(index.jsp) 목록 조회 페이지는 display의 flex 속성과 flex-wrap의 wrap 속성을 이용해서 열거형으로 동영상들을 나열했습니다. 각각의 동영상들은 div 로 감싸져 있는데, 이 div 전체에 링크를 걸기 위해서 di.. 2021. 6. 15.
[자료구조]이진 탐색 트리(Binary Search Tree) 정의 In computer science, a binary search tree (BST), also called an ordered or sorted binary tree, is a rooted binary tree whose internal nodes each store a key greater than all the keys in the node's left subtree and less than those in its right subtree. A binary tree is a type of data structure for storing data such as numbers in an organized way. Binary search trees allow binary search for fas.. 2021. 6. 5.
[CLASS 4]백준 10830번 - 행렬 제곱 10830번 - 행렬 제곱 수학적 지식, 그중에서도 행렬에 대한 지식이 좀 필요한 문제이다. 먼저 행렬 곱의 과정에 대하여 알고 이를 구현할 수 있어야 하고, 푸는 방식에 따라 단위 행렬도 사용해야 한다. 그것들을 다 알고 있다면 꽤 익숙하고 유명한 분할 정복을 이용한 거듭제곱 문제이다. 컴퓨터는 2^16을 구한다고 할 때, 그냥 2를 16번 곱하는 것보다 (((2^2)^2)^2)^2 의 방식으로 구하는 것이 속도가 더 빠르다. 이를 이용하면 거듭제곱에서 O(n)을 O(logn)으로 획기적으로 줄일 수 있다. 내 코드: # dawitblog.tistory.com/161 from sys import stdin input = stdin.readline # 행렬 곱셈 def mat_multi(a,b): tem.. 2021. 6. 3.
[자료구조]우선순위 큐(Priority Queue) 정의 In computer science, a priority queue is an abstract data type similar to a regular queue or stack data structure in which each element additionally has a "priority" associated with it. In a priority queue, an element with high priority is served before an element with low priority. In some implementations, if two elements have the same priority, they are served according to the order in whic.. 2021. 6. 2.