전체 글 (52) 썸네일형 리스트형 [leetcode] 210. Course Schedule II There are a total of n courses you have to take labelled from 0 to n - 1. Some courses may have prerequisites, for example, if prerequisites[i] = [ai, bi] this means you must take the course bi before the course ai. Given the total number of courses numCourses and a list of the prerequisite pairs, return the ordering of courses you should take to finish all courses. If there are many valid answe.. [leetcode] 211. Design Add and Search Words Data Structure Design a data structure that supports adding new words and finding if a string matches any previously added string. Implement the WordDictionary class: WordDictionary() Initializes the object. void addWord(word) Adds word to the data structure, it can be matched later. bool search(word) Returns true if there is any string in the data structure that matches word or false otherwise. word may conta.. 다중 우주의 네가지 모형 (Level 1 ~ Level 4) 스웨덴 출신의 물리학자인 맥스 테그마크는 과학자들이 다중 우주라는 단어를 서로 다르게 사용한다는 사실을 알게 되었고, 이를 종합해서 레벨 1~4 까지의 네 가지 모형으로 정리했다. Level 1 첫 번째 다중 우주론 모델은 우리 우주를 넘어선 영역을 또 다른 우주로 인정하는 것이다. 빅뱅 직후, 1초도 되지 않는 짧은 시간동안 우주는 매우 빠르게 급팽창 했다. 팽창의 속도 자체가 증가하면서 가속 팽창한 것인데, 우주 초기에 대한 이러한 설명을 인플레이션 이론이라고 한다. 오늘날의 과학자들은 일반적으로 빅뱅 다음에 인플레이션이 있었음을 의심하지 않는 편인데, 이 우주의 팽창 속도는 지금까지도 계속 증가하고 있다. 그리고 이 가속된 팽창 속도가 마침내 빛의 속도를 초월해서 커져나갔다, 우리 우주의 나이가 대.. 이전 1 ··· 4 5 6 7 8 9 10 ··· 18 다음