[Basic] Rotate Array by n elements
Given an array of size n, rotate it by d elements.
More …Given an array of size n, rotate it by d elements.
More …ORM : 데이터베이스 레이아웃을 파이썬 코드로 표현할 수 있게 하는 것
More …views.py의 post_list가 작동하는 메커니즘
More …After they became famous, the CodeBots all decided to move to a new building and live together. The building is represented by a rectangular matrix of rooms. Each cell in the matrix contains an integer that represents the price of the room. Some rooms are free (their cost is 0
), but that’s probably because they are haunted, so all the bots are afraid of them. That is why any room that is free or is located anywhere below a free room in the same column is not considered suitable for the bots to live in.
Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one element from the array.
More …이제 어느정도 적응이 되어간다. 클래스와 객체에 대한 개념이 어느정도 잡혀가고 웹 페이지가 어떻게 구성되었는지, 또 웹 크롤링 하는 방법도 손에 익어간다. 문제는 수업시간에 처음 설명을 들을 때 거의 이해를 못하고 넘어가는 것이 많다는 것이다. 질문을 하고싶어도 당최 이해가 안되니 뭘 모르는지도 모르겠다. 그래서 수업 녹화를 적극 활용하기로 했다. 수업 시간이 끝나고 자습실에 남아서 강의를 몇 번씩이나 돌려보면서 낯설음을 깨부수고 있다.
More …Given two numbers M and N. Write a program to find the position of rightmost different bit in binary representation of numbers.
More …Ratiorg got statues of different sizes as a present from CodeMaster for his birthday, each statue having an non-negative integer size. Since he likes to make things perfect, he wants to arrange them from smallest to largest so that each statue will be bigger than the previous one exactly by 1
. He may need some additional statues to be able to accomplish that. Help him figure out the minimum number of additional statues needed.
인터프리터를 적극활용하자!
More …Given an integer an N, write a program to print the position of first set bit found from right side in the binary representation of the number.
More …```python def get_song_id(): path_module = os.path.abspath(name) root_dir = os.path.dirname(path_module) path_data_dir = os.path.join(root_dir, ‘data’)
More …웹 크롤링시 속성의 인자를 가져오기
More …Below we will define an n-interesting polygon. Your task is to find the area of a polygon for a given n.
More …A palindrome is a word that reads the same backward or forward.
More …