Skip to content

[Programmers] 2023 KAKAO BLIND RECRUITMENT 개인정보 수집 유효기간 #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ViGilanteAF
Copy link
Member

기본사항 정리

  1. today, terms, privaies 가 input으로 주어지고 result 로 1,3 을 반환함
  2. 약관 종류에 따른 유효기간이 다르기 때문에 서로 매핑이 필요함
  3. 개인정보의 수집일자와 약관 유효기간을 더해서 개인정보의 파기 시작 날짜를 구해야 함

구현방법

1.약관 종류 -> 유효기간(월)
2. 수집날짜 + 유효기간 -> 폐기 시작 날짜 != 오늘 날짜
3. 비교를 위해 string 형으로 되어있는 문자열을 int 형으로 변환하여 비교한뒤 다시 string형으로 반환을 해준다.


카카오 코딩테스트 문제 Lv.1 을 한번 풀어봤습니다.
우선 Python 으로 문제를 풀어 보았습니다.
곧 Javascript 버전으로 문제를 풀이한 것도 PR이 올라올 예정입니다.

@ViGilanteAF ViGilanteAF requested a review from deipanema June 5, 2023 18:23
@ViGilanteAF ViGilanteAF self-assigned this Jun 5, 2023
@deipanema
Copy link
Member

자바스크립트 풀이는 언제 올라오나용🐲💨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Programmers] 2023 KAKAO BLIND RECRUITMENT 개인정보 수집 유효기간
2 participants