{"id":7606,"date":"2013-07-15T15:36:54","date_gmt":"2013-07-15T20:36:54","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=7606"},"modified":"2013-07-15T15:36:55","modified_gmt":"2013-07-15T20:36:55","slug":"linq-ruined-my-favorite-interview-question","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/07\/15\/linq-ruined-my-favorite-interview-question\/","title":{"rendered":"LINQ Ruined My Favorite Interview Question"},"content":{"rendered":"<p><a href=\"http:\/\/scottchamberlin.tumblr.com\/post\/55152416452\/linqinterview\">Scott Chamberlin<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=6025917\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"http:\/\/scottchamberlin.tumblr.com\/post\/55152416452\/linqinterview\"><p>The question is &ldquo;Return the top 10 most frequently occurring words in a string.&rdquo;  This year a couple candidates gave me a solution which I haven&rsquo;t seen in 5+ years of asking this question&mdash;they solved it with a couple lines of LINQ.   I decided to dig deeper in to these solutions post interview and I&rsquo;m writing up what I learned.<\/p><\/blockquote>\n<p>See also: <a href=\"http:\/\/mjtsai.com\/blog\/2013\/02\/27\/nsenumeratorlinq\/\">NSEnumeratorLinq<\/a> and <a href=\"http:\/\/mjtsai.com\/blog\/2013\/02\/16\/rxcollections\/\">RXCollections<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Scott Chamberlin (via Hacker News): The question is &ldquo;Return the top 10 most frequently occurring words in a string.&rdquo; This year a couple candidates gave me a solution which I haven&rsquo;t seen in 5+ years of asking this question&mdash;they solved it with a couple lines of LINQ. I decided to dig deeper in to these [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[351,350,71,340],"class_list":["post-7606","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-c-sharp","tag-linq","tag-programming","tag-rxcollections"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=7606"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7606\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=7606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=7606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=7606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}