기록의 공간

기록의 공간

  • 분류 전체보기 (162)
    • Programming (36)
      • Error 처리 (10)
      • 기술 정리 (14)
      • 환경 설정 정리 (10)
      • 이론정리 (2)
    • Algorithm (124)
      • JAVA (87)
      • DATABASE (35)
    • 기타 (1)
      • 회고록 (1)
  • 홈
  • 태그
  • 방명록
  • 깃허브
RSS 피드
로그인
로그아웃 글쓰기 관리

기록의 공간

컨텐츠 검색

태그

인프런 프로그래머스 실버 플루이드 워셜 골드 SQL AWS 복습 java 에러해결 오류해결 백준 Programmers DFS 그리디 프로그래머스 알고리즘 Oracle BFS algorithm 알고리즘

최근글

댓글

공지사항

아카이브

중위순회(1)

  • [Algorithm /인프런] 이진 트리 순회(깊이 우선 탐색)

    [전위순회 코드] package section7_recursive_tree_graph; class Node{ int data; Node lt, rt; public Node(int val) { data = val; lt=rt=null; } } public class BinaryTreeSearInorder { Node root; public void DFS(Node root) { //종료 if(root == null) return; else{ System.out.print(root.data+" "); DFS(root.lt); DFS(root.rt); } } public static void main(String[] args) { BinaryTreeSearInorder tree = new BinaryTreeS..

    2023.11.07
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바