This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your favorite uncle, Morty, is crazy about the lottery and even crazier about how he picks his “lucky” numbers. And even though his “never fail” strategy has yet to succeed, Uncle Morty doesn't let that get him down. | |
Every week he searches through the Sunday newspaper to find a string of digits that might be potential lottery picks. But this week the newspaper has moved to a new electronic format, and instead of a comfortable pile of papers, Uncle Morty receives a text file with the stories. | |
Help your Uncle find his lotto picks. Given a large series of number strings, return each that might be suitable for a lottery ticket pick. Note that a valid lottery ticket satisfies the following properties | |
The digits must form 7 unique numbers between 1 and 59 | |
Digits must be used in order. This means that you cannot form a number using digit n and digit n + 10, for example. Eg: In 12345678, you can't use 1 and 3 to get 13 in your lottery pick | |
Every digit must be used exactly once. This means that you cannot use one d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
December 12-29, China detects pneumonia of unknown cause in Wuhan, China. | |
December 31, China informs WHO of pneumonia of unknown cause. | |
January 7, China identifies that the mysterious pneumonia is caused by a novel coronavirus. | |
January 8, CDC alerts US clinicians of respiratory syndrome for those that recently traveled to China. | |
January 10, Chinese researchers make a sequence of the virus public. | |
January 11, First COVID-19-related death in China. | |
January 17, CDC begins implementing public health screening at airports. | |
January 21, US identifies the first domestic case of the novel coronavirus. | |
January 23, China suspends Wuhan transportation. | |
January 30, WHO declares a global health emergency. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new west | |
petrochemical america | |
uncommon places | |
urban landscapes | |
house hunting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> library(data.table) | |
data.table 1.10.5 IN DEVELOPMENT built 2017-08-22 22:20:41 UTC; travis | |
The fastest way to learn (by data.table authors): https://www.datacamp.com/courses/data-analysis-the-data-table-way | |
Documentation: ?data.table, example(data.table) and browseVignettes("data.table") | |
Release notes, videos and slides: http://r-datatable.com | |
> fread('demand_full.csv', verbose=TRUE) | |
Input contains no \n. Taking this to be a filename to open | |
[1] Check arguments | |
Using 4 threads (omp_get_max_threads()=4, nth=4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Australia | |
Austria | |
Belgium | |
Chile | |
Costa Rica | |
Croatia | |
Czech Republic | |
Denmark | |
Estonia | |
France |