Elastic Interview Questions

Elastic Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(96)
SQL
(66)
Machine Learning
(64)
Probability
(33)
Product Sense & Metrics
(24)

Elastic Interview Questions

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

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

Given a JSON string with nested objects, write a function flatten_json that flattens all the objects to a single key-value dictionary. Do not use the library that actually performs this function.

Example:

Input:

import json
json_str = json.dumps({'a':{'b':'c', 'd':'e'}})

Output:

def flatten_json(json_str) -> json.dumps({'a_b':'c', 'a_d':'e'})

Note: Input and output are in string format : use json.dumps() to convert python dictionary to string.

Responsible AI & Security
Hard
SQL
Easy
Loading pricing options

View all Elastic questions

Challenge

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

Elastic Salaries by Position

Data Engineer*
$240K
Data Engineer
Median: $240K
Mean (Average): $240K
Data points: 1
Product Manager*
$209K
$210K
Product Manager
Median: $210K
Mean (Average): $210K
Data points: 2
Data Scientist*
$185K
$211K
Data Scientist
Median: $198K
Mean (Average): $198K
Data points: 2
AI Research Scientist*
$195K
AI Research Scientist
Median: $195K
Mean (Average): $195K
Data points: 1
$89K
$176K
Software Engineer
Median: $132K
Mean (Average): $128K
Data points: 19

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

From the graph we can see that on average the Data Engineer role pays the most with a $240,000 base salary while the Software Engineer role on average pays the least with a $128,105 base salary.

Discussion & Interview Experiences

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