책을 참고해서 출간합니다.(책 광고 아니고요. 제가 샀습니다.)https://www.aladin.co.kr/shop/wproduct.aspx?ItemId=254584084파이썬 알고리즘 인터뷰입니다.파이썬에 대한 여러가지 팁과 좋은 문제들로 구성되어 있는 것
https://ko.wikipedia.org/wiki/%ED%9A%8C%EB%AC%B8거꾸로 읽어도 똑같은 말을 말합니다.요즘 분들을 잘 모르시겠지만 슈퍼주니어 노래중에 로꾸꺼라는 노래가 있는데 이게 펠린드롬입니다.=> 거꾸로해도 수박이박수이지요A phrase
Write a function that reverses a string. The input string is given as an array of characters s.You must do this by modifying the input array in-place
Given a string paragraph and a string array of the banned words banned, return the most frequent word that is not banned. It is guaranteed there is at
수학자인 리처드 벨만이 1940년대에 사용하던 용어였다. 1953년, 벨만은 큰 문제 안에 작은 문제가 중첩되어있는 문제를 해결하는 데 사용하는 이 방법을 '동적 계획법'이라 이름붙였다.(wiki)예제그림은 적성에 안맞는 모양이다.. 5를 구하기 위해서 4가 1번, 3
최대 공배수 알고리즘을 쓰는 경우에 보통 gcd를 사용한다.그렇지만 리스트를 사용해서 gcd를 구할 경우가 있는데 이 경우에def gcd(\*args, \*\*kwargs): """ Greatest Common Divisor. """ passfrom fra