Data Engineering Interview

  Рет қаралды 6,349

The Big Data Show

The Big Data Show

Күн бұрын

Пікірлер: 9
@shabarinathk8954
@shabarinathk8954 7 ай бұрын
Great content. Pls never stop posting
@rahulrishi107
@rahulrishi107 6 ай бұрын
Its a fabulous initiative. Please continue with this concept.
@surajsuryawanshi444
@surajsuryawanshi444 Ай бұрын
A generic solution for the first question: "" def parsed_sum(item): total = 0 if type(item) == dict: for _, val in item.items(): total += parsed_sum(val) elif type(item) in [list, tuple, set]: for val in item: total += parsed_sum(val) else: total += item return total my_dict = { 'v1': 10, 'v2': { 'v3': 20, 'v6': [30], 'v7': { 'v8': 40 } }, 'v5': [25, 25], 'v6': (25, 25), 'v7': {50, 100, 50} } print(f'Total: {parsed_sum(my_dict)}') """
@Ali.achachi17
@Ali.achachi17 7 ай бұрын
for SQL query why u complicated here is a simple solution : select e.event_name , p.participant_name from participant p join Events e on e.event_id = p.event_id group by e.event_name , p.participant_name having count(e.event_id) > 1;
@JulioSerratos
@JulioSerratos 4 ай бұрын
It easy to answer when you are not under pressure of an interviwer. A simple problem could become enormous if you do not have a the best control of your emotions.
@dhairyaparikh5694
@dhairyaparikh5694 3 ай бұрын
On top of that, there is a possibility that there are 2 participants with the same name but different participant ids. In that case, your solution will just return 1 name instead of 2. That is why the interviewer stated it’s a seeming simple yet tricky question to solve.
@TexasMan2024
@TexasMan2024 7 ай бұрын
the first Python solution is not correct here: for x in v: sum += x, because X could be list, dict again
@sharankarthick3364
@sharankarthick3364 6 ай бұрын
Informative one!
@stylishsannigrahi
@stylishsannigrahi 4 ай бұрын
sum_val=0 def sum_of_vals_recursive(my_dict): global sum_val if (type(my_dict)==dict):#processing logic for dictionary for k,v in my_dict.items(): if(type(v)==int or type(v)==float):#if the value is a simple int/float sum_val=sum_val + v else: sum_of_vals_recursive(v)#this will get invoked during 1st nested level else:#this bit of logic is for nested ones, where it is list, set, tuple from 1st nesting for x in my_dict:#iteration logic for set, tuple, list if(type(x)==int or type(x)==float):#type check of elements of the value of each iterated from previous step sum_val = sum_val + x else: sum_of_vals_recursive(x)#this one is for handling next set of nestng and then, it will again follow return sum_val; inp_dict = {'ireland':100,'india':[200,300,[400,[200,200],400]],'uk':{'scotland':[50]}} print(sum_of_vals_recursive(inp_dict))
Data Engineering Interview | System Design
1:00:00
The Big Data Show
Рет қаралды 26 М.
Big Data Mock Interview | Data Engineering Interview
46:54
The Big Data Show
Рет қаралды 16 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 107 МЛН
Каха и лужа  #непосредственнокаха
00:15
Data Engineering Interview
29:36
The Big Data Show
Рет қаралды 2,5 М.
Real Interview Q&A for Senior Data Engineer #1 | Surfalytics
30:26
Surfalytics TV
Рет қаралды 5 М.
Data Engineering Interview
34:51
The Big Data Show
Рет қаралды 2,3 М.
I Wish I Knew These 7 ML Engineerings Skills Earlier
20:53
Boris Meinardus
Рет қаралды 31 М.
"Azure Data Engineer Mock Interview: Prepare for Your Next Job!"
27:34
Azurelib Academy
Рет қаралды 2 М.
How to NOT Fail a System Design Interview (By a Data Engineer)
19:32
Data Engineering Mock Interview | Myntra
49:03
The Big Data Show
Рет қаралды 33 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН