Questions email Lynn Root
- My Blog with my experience, how I prepared, practice problems and resources.
- Previous WWC Practice questions with questions from previous WWC Interview workshop with Gayle McDowell
Start with Fedora 17 | |
yum install -y git vim rubygem-thor rubygem-parseconfig tito make rubygem-aws-sdk tig mlocate bash-completion rubygem-yard rubygem-redcarpet ruby-devel redhat-lsb | |
yum install -y http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-3.10.0-160.fc17.noarch.rpm http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-devel-3.10.0-160.fc17.noarch.rpm http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-doc-3.10.0-160.fc17.noarch.rpm http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-minimum-3.10.0-160.fc17.noarch.rpm http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-mls-3.10.0-160.fc17.noarch.rpm http://kojipkgs.fedoraproject.org//packages/selinux-policy/3.10.0/160.fc17/noarch/selinux-policy-targeted-3.10.0-160.fc17.noarch.rpm | |
gem install rspec -v '1.1.12' | |
for i in origin- |
unsorted_list = [1, 4, 12, 3, 0, 4, 1, 16, 20, 20, 19, 7, 4, 0] | |
# Terrible solution that only works small integers, but it is O(n) in both | |
# space and time | |
max_int = max(unsorted_list) | |
entries = [0] * (max_int + 1) | |
for x in unsorted_list: | |
entries[x] += 1 |
class Node: | |
def __init__(self, key): | |
self.key = key | |
self.parent = None | |
self.left = None | |
self.right = None | |
def insert(root, t): | |
new = Node(t) |
def hex2dec(dec_number): | |
mapping = { | |
10 : "A", | |
11 : "B", | |
12 : "C", | |
13 : "D", | |
14 : "E", | |
15 : "F" | |
} |
class Graph: | |
def __init__(self): | |
self.nodes = set() | |
self.edges = defaultdict(list) | |
self.distances = {} | |
def add_node(self, value): | |
self.nodes.add(value) | |
def add_edge(self, from_node, to_node, distance): |
Questions email Lynn Root
<!doctype html> | |
<html lang="{{ HTML_LANG }}"> | |
<head> | |
<meta charset="utf-8"/> | |
<title>{% block title %}PyLadies BYOBlog{%endblock%}</title> | |
<meta name="author" content="A PyLady"> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> | |
<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0"> |