Kyle Morgano's review of leetcode

How to use leetcode? (Disclaimer : this is the approach I took, and it helped me. The timeframe could vary depending on the individual skills) Stage - 1 (Easy and Medium : 85+ and 165+ problems) Select your favorite topic, solve easy ones, OR sort by acceptance rate. After easy ones are solved, move to other topic if you’re exhausted, OR solve medium ones. Don’t even attempt for the hard ones if you’re not comfortable with easy or medium.

重读余华的《活着》

福贵的一生真是坎坷。有一个爱自己的妻子家珍,有一双孝顺的儿子。可惜,命运的作弄,让他白发人送黑发人。真是悲惨至极。 苦根的死,也惨!福贵煮豆子

Core Java concept questions

6. Enhance vs-Traditional For Loop In which of the following scenarios is it appropriate to use the enhanced for loop as opposed to the traditional for loop? A. when you need access to the index of the current element within the body of the loop B. with an array C. when you need to iterate an array in reverse D. All of the above 7. Starting an Already Running Thread

Senior Software Engineer (Tour Automation) at Redfin

Redfin San Francisco Posted 2 days ago22 views Be one of the first 10 applicants. Kaitlin McHargue·2nd Technical Recruiter at Redfin San Francisco, California Website www.redfin.comHeadquarters Seattle, WASize 1001 to 5000 EmployeesFounded 2004Type Company - PrivateIndustry Real Estate Competitors Zillow, Trulia, Coldwell Banker Senior Software Engineer (Tour Automation) at Redfin Job description Redfin is a well-funded technology startup t

Configure Ejabberd chat server to use PostgreSQL

Configure Ejabberd chat server to use PostgreSQL In order to make data persistent with in any application, we can link it to a PostgreSQL relational database. To change the default to use a postgres database we first need to create a new postgresql database on the server 1 2 3 huazhang@zhoutekiMacBook-Air:~/ejabberd-15.09/bin$ psql psql (9.4.4) huazhang=# run ./createdb ejabberd Create the tables using the supplied script 1 huazhang-# ./psql ejabberd <

亚麻电面题

Question You’ve got a text file that contains x,y,z-coordinate points for every star in the sky (on the order of 1 billion (this is N)). I want to know the 100 (or K) closest stars to earth, how would you compute that? earth = 0, 0, 0 Solution (1) Split the file by N= 10000 lines, and calculate the distance, define a class Star with

EPAM-Scala-Interview-Questions

Scala Interview Questions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1. pattern matching and functional composition https://twitter.github.io/scala_school/pattern-matching-and-functional-composition.html scala compose partial functions scala> val fComposeG = f _ compose g _ fComposeG: (String) => java.lang.String = <function> scala> fComposeG("yay") res0: java.lang.String = f(g(yay)) andThen andThen is like compose, but calls the first

Scala resource list

Scala resource list Scala School Lessons in the Fundamentals of Scala Effective Scala Twitter’s “best practices” for Scala. Useful for understanding idioms in Twitter’s code. scala-lang.org Documentation Links to tutorials, manuals, API reference, books, … Scala API Documentation Scala Syntax FAQ pattern matching and functional composition andThen Map immutable