Gemini Interview Questions

Gemini Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(32)
SQL
(26)
Machine Learning
(24)
Product Sense & Metrics
(8)
Behavioral
(7)

Gemini Interview Questions

Practice for the Gemini interview with these recently asked interview questions.

QuestionTopicDifficulty
Machine Learning
Hard

Build a logistic regression model from scratch, with the following conditions:

  • Return the parameters of the regression
  • Do not include an intercept term
  • Use basic gradient descent (with newton’s method) as your optimization method and the log-likelihood as your loss function.
  • Don’t include a penalty term.
  • You may use numpy and pandas but NOT scikit-learn

Example:

Input:

step_size = 0.02
max_steps = 100
starting_point = np.asarray(data.drop('Target').mean())
print(data)
...
        Var1      Var2      Var3  Target
0   0.439326 -0.662463  0.027418       1
1  -1.363880 -1.303938 -1.595875       1
2  -1.710828 -2.473115 -0.968141       1
3  -1.620589  1.321073  1.608265       0
4  -0.315593 -1.655797  0.126860       0
..       ...       ...       ...     ...
95 -0.663844  0.225382  0.650974       0
96  1.479807  0.322281  0.501116       0
97  0.510666 -0.745397 -0.239914       0
98 -0.769290  1.348070 -0.059427       0
99  2.018888 -0.945268 -0.851626       0

[100 rows x 4 columns]

Output:

def logistic_regression(data,starting_point,step_size,steps) -> [0.35155765,-0.30863254,-0.13125343]
SQL
Easy
SQL
Easy
Loading pricing options

View all Gemini questions

Challenge

Check your skills...
How prepared are you for working at Gemini?

Gemini Salaries by Position

$165K
$237K
Software Engineer
Median: $207K
Mean (Average): $202K
Data points: 14
$44K
$199K
ML Engineer
Median: $130K
Mean (Average): $133K
Data points: 13

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the Software Engineer role pays the most with a $202,000 base salary while the ML Engineer role on average pays the least with a $132,779 base salary.

Gemini Opening Jobs

Staff Data Engineer

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion