Skip to content

Commit 9984c63

Browse files
committed
all mocks are done!
1 parent 4e69ae7 commit 9984c63

25 files changed

+731
-822
lines changed

Mock Interviews/Ride Share Start-Up Company/Ride Share Company - Interview Questions - SOLUTIONS/.ipynb_checkpoints/Phone Screen - SOLUTION-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Phoen Screen - SOLUTION\n",
7+
"# Phone Screen - SOLUTION\n",
88
"\n",
99
"## Problem\n",
1010
"\n",

Mock Interviews/Ride Share Start-Up Company/Ride Share Company - Interview Questions - SOLUTIONS/Phone Screen - SOLUTION.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Phoen Screen - SOLUTION\n",
7+
"# Phone Screen - SOLUTION\n",
88
"\n",
99
"## Problem\n",
1010
"\n",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# On-Site Question 1 \n",
8+
"\n",
9+
"## Problem\n",
10+
"\n",
11+
"** Given a list of integers, find the largest product you could make from 3 integers in the list **\n",
12+
"\n",
13+
"## Requirements\n",
14+
"\n",
15+
"** You can assume that the list will always have at least 3 integers **\n",
16+
"\n",
17+
"** Paper/pencil only, don't code this out until you've solved it as far as you can by hand. **"
18+
]
19+
},
20+
{
21+
"cell_type": "markdown",
22+
"metadata": {},
23+
"source": [
24+
"# Good Luck!"
25+
]
26+
}
27+
],
28+
"metadata": {
29+
"kernelspec": {
30+
"display_name": "Python 2",
31+
"language": "python",
32+
"name": "python2"
33+
},
34+
"language_info": {
35+
"codemirror_mode": {
36+
"name": "ipython",
37+
"version": 2
38+
},
39+
"file_extension": ".py",
40+
"mimetype": "text/x-python",
41+
"name": "python",
42+
"nbconvert_exporter": "python",
43+
"pygments_lexer": "ipython2",
44+
"version": "2.7.11"
45+
}
46+
},
47+
"nbformat": 4,
48+
"nbformat_minor": 0
49+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# On-Site Question 2 \n",
8+
"\n",
9+
"## Problem\n",
10+
"\n",
11+
"** Write a function that given a target amount of money and a list of possible coin denominations, returns the number of ways to make change for the target amount using the coin denominations**\n",
12+
"\n",
13+
"## Requirements\n",
14+
"\n",
15+
"** Write out your work on paper/pencil, then see if you can code up your solution **"
16+
]
17+
},
18+
{
19+
"cell_type": "markdown",
20+
"metadata": {},
21+
"source": [
22+
"# Good Luck!"
23+
]
24+
}
25+
],
26+
"metadata": {
27+
"kernelspec": {
28+
"display_name": "Python 2",
29+
"language": "python",
30+
"name": "python2"
31+
},
32+
"language_info": {
33+
"codemirror_mode": {
34+
"name": "ipython",
35+
"version": 2
36+
},
37+
"file_extension": ".py",
38+
"mimetype": "text/x-python",
39+
"name": "python",
40+
"nbconvert_exporter": "python",
41+
"pygments_lexer": "ipython2",
42+
"version": "2.7.11"
43+
}
44+
},
45+
"nbformat": 4,
46+
"nbformat_minor": 0
47+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# On-Site Question 3 \n",
8+
"\n",
9+
"## Problem\n",
10+
"\n",
11+
"** Given a binary tree, check whether it’s a binary search tree or not. **"
12+
]
13+
},
14+
{
15+
"cell_type": "markdown",
16+
"metadata": {},
17+
"source": [
18+
"## Requirements\n",
19+
"\n",
20+
"** Use paper/pencil, do not code this in an IDE until you've done it manually**\n",
21+
"\n",
22+
"** Do not use built-in Python libraries to do this, but do mention them if you know about them **"
23+
]
24+
},
25+
{
26+
"cell_type": "markdown",
27+
"metadata": {},
28+
"source": [
29+
"# Good Luck!"
30+
]
31+
}
32+
],
33+
"metadata": {
34+
"kernelspec": {
35+
"display_name": "Python 2",
36+
"language": "python",
37+
"name": "python2"
38+
},
39+
"language_info": {
40+
"codemirror_mode": {
41+
"name": "ipython",
42+
"version": 2
43+
},
44+
"file_extension": ".py",
45+
"mimetype": "text/x-python",
46+
"name": "python",
47+
"nbconvert_exporter": "python",
48+
"pygments_lexer": "ipython2",
49+
"version": "2.7.11"
50+
}
51+
},
52+
"nbformat": 4,
53+
"nbformat_minor": 0
54+
}
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# Phoen Screen - SOLUTION\n",
7+
"# Phone Screen \n",
88
"\n",
99
"## Problem\n",
1010
"\n",
@@ -19,13 +19,7 @@
1919
"cell_type": "markdown",
2020
"metadata": {},
2121
"source": [
22-
"## Solution\n",
23-
"\n",
24-
"Hopefully this problem sounds familiar! We can use a binary search to search for an intger since the list is already sorted! This means we can find the item in [O(logn) time and O(1) space](http://bigocheatsheet.com/)!\n",
25-
"\n",
26-
"Revisit the lectures on Binary Search and its implementation to fully get the reasoning behind this solution and problem!\n",
27-
"\n",
28-
"# Good Job!"
22+
"# Good Luck!"
2923
]
3024
}
3125
],

Mock Interviews/Ride Share Start-Up Company/Ride Share Company - Interview Questions /On-Site Question 1 - SOLUTION.ipynb

Lines changed: 0 additions & 149 deletions
This file was deleted.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"# On-Site Question 1 \n",
8+
"\n",
9+
"## Problem\n",
10+
"\n",
11+
"** Given a list of integers, find the largest product you could make from 3 integers in the list **\n",
12+
"\n",
13+
"## Requirements\n",
14+
"\n",
15+
"** You can assume that the list will always have at least 3 integers **\n",
16+
"\n",
17+
"** Paper/pencil only, don't code this out until you've solved it as far as you can by hand. **"
18+
]
19+
},
20+
{
21+
"cell_type": "markdown",
22+
"metadata": {},
23+
"source": [
24+
"# Good Luck!"
25+
]
26+
}
27+
],
28+
"metadata": {
29+
"kernelspec": {
30+
"display_name": "Python 2",
31+
"language": "python",
32+
"name": "python2"
33+
},
34+
"language_info": {
35+
"codemirror_mode": {
36+
"name": "ipython",
37+
"version": 2
38+
},
39+
"file_extension": ".py",
40+
"mimetype": "text/x-python",
41+
"name": "python",
42+
"nbconvert_exporter": "python",
43+
"pygments_lexer": "ipython2",
44+
"version": "2.7.11"
45+
}
46+
},
47+
"nbformat": 4,
48+
"nbformat_minor": 0
49+
}

0 commit comments

Comments
 (0)