느낌표 공장

  • 태그
  • 방명록

replace 1

[Python] 비밀지도

def solution(n, arr1, arr2): map1 = [] map2 = [] for i in arr1 : b = format(i, 'b') a = list(map(int, str(b))) if len(a) != n : while len(a) < n : a.insert(0, 0) map1.append(a) for i in arr2 : b = format(i, 'b') a = list(map(int, str(b))) if len(a) != n : while len(a) < n : a.insert(0, 0) map2.append(a) secret_map = [] for x, y in zip(map1, map2) : s_map = [] for q, w in zip(x, y) : if q or w ==..

Algorithm/Programmers 2021.04.30
1
더보기
프로필사진

  • 전체보기
    • CS
    • Language
      • Python
      • Java
      • JavaScript
      • MySQL
    • Web
      • Spring
    • Data Science
      • Machine Learning
      • 설치
    • Algorithm
      • 개념
      • Programmers
      • Baekjoon
      • SW Expert Academy
    • Mac
    • 기타
      • IntelliJ
      • 영감

Tag

BFS, 파이썬, BOJ, 프로그래머스, Two Pointer, greedy, Spring, dp, 자바, Queue, dfs, Dijkstra, binary search, swea, Backtracking, stack, binary, Python, java, programmers,

최근글과 인기글

  • 최근글
  • 인기글

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Github

티스토리툴바