본문 바로가기 메뉴 바로가기

Devlog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Devlog

검색하기 폼
  • 분류 전체보기 (171)
    • Record (1)
    • Algorithm (149)
      • Baekjoon (75)
      • Programmers (72)
      • Algorithm (2)
    • CS (9)
      • Data Structure (4)
      • Computer Structure (1)
      • etc. (4)
    • JavaScript (1)
    • Web (5)
    • Troubleshooting (3)
    • C, C++ (3)
  • 방명록

네트워크 (1)
[프로그래머스] 네트워크 - Python

https://programmers.co.kr/learn/courses/30/lessons/43162 코딩테스트 연습 - 네트워크 네트워크란 컴퓨터 상호 간에 정보를 교환할 수 있도록 연결된 형태를 의미합니다. 예를 들어, 컴퓨터 A와 컴퓨터 B가 직접적으로 연결되어있고, 컴퓨터 B와 컴퓨터 C가 직접적으로 연결되어 있�� programmers.co.kr def dfs(computers, check, v): check[v] = 1 for i in range(len(check)): if check[i] == 0 and computers[v][i] == 1: dfs(computers, check, i) def solution(n, computers): answer = 0 check = [0] * n for ..

Algorithm/Programmers 2020. 7. 11. 02:04
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바