Notice
Recent Posts
Recent Comments
Link
목록hash (1)
나의 개발일지
문제 : https://school.programmers.co.kr/learn/courses/30/lessons/42576 해시 함수, 딕셔너리, 해시 맵 파이썬 def solution(participant, completion): hashDict={} sumHash=0 for name in participant: hashDict[hash(name)]=name sumHash+=hash(name) for name in completion: sumHash-=hash(name) return hashDict[sumHash] 자바 import java.util.*; class Solution { public String solution(String[] participant, String[] completion) ..
프로그래머스
2023. 6. 29. 14:14