I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains 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
# coding=UTF-8 | |
import nltk | |
from nltk.corpus import brown | |
# This is a fast and simple noun phrase extractor (based on NLTK) | |
# Feel free to use it, just keep a link back to this post | |
# http://thetokenizer.com/2013/05/09/efficient-way-to-extract-the-main-topics-of-a-sentence/ | |
# Create by Shlomi Babluki | |
# May, 2013 |
This file contains 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
require 'rack' | |
require 'erb' | |
def normalize(token) | |
token.strip.upcase.gsub(/[^\w]/, '') | |
end | |
def nurble_token(token) | |
NOUNS[normalize token] && token || NURBLE | |
end |
This file contains 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
package fizzbuzz | |
// This is church encoding of natural numbers | |
sealed trait Num { | |
def toInt : Int | |
override def toString = toInt.toString | |
} | |
final case object Z extends Num { | |
def toInt : Int = 0 |
This file contains 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
class FizzBuzz | |
private | |
@@pairs = [ | |
[3, "fizz"], | |
[5, "buzz"] | |
] | |
def self.strings_for(n) |
This file contains 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
object FizzBuzz { | |
val defaultRules = List( | |
Rule(3, "fizz"), | |
Rule(5, "buzz") | |
) | |
def main(args: Array[String]) = { | |
fizzBuzz() foreach(println) | |
} |
This file contains 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
# This file is to rebuild the dist env automatically so that you don't have to | |
# rerun ant deploy all the time | |
# | |
# To run, install watchr gem | |
# | |
# gem install watchr | |
# | |
# Then simply run | |
# | |
# watchr autobuild.rb |
This file contains 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
401(k) 401(k) plan | |
403(b) 403(b) plan | |
American depositary receipt American Depositary Receipt | |
American Institute Of Certified Public Accountants American Institute of Certified Public Accountants | |
ARB arb | |
automated bond system Automated Bond System | |
BA Ba | |
Board Of Directors board of directors | |
Bollinger bands Bollinger Bands | |
book runner bookrunner |
This file contains 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
# (Assuming master is your main branch) | |
# To create a local branch | |
git checkout -b experiment | |
# To push a local branch to remote | |
git push origin experiment | |
# To check out an *existing* remote branch | |
# (In earlier versions, you needed an explicit --track option, but now it's the default when branching off a remote branch) |
This file contains 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
-DI | |
"Made whole" doctrine | |
+DI | |
1031 exchange | |
1035 exchange | |
1040 EZ | |
1098 form | |
1099 | |
1099-B | |
1099-B Form |
NewerOlder