Hi everyone, if you are preparing for Data Engineer Interviews then do checkout the below playlist. In that I have covered important PySpark concepts and their coding questions ruclips.net/video/YUnZKKao3Sg/видео.html
Thanks for sharing and please continue making such videos along with complete roadmap and resources you followed. Just one correction in decorators : first add will get executed ==> value will become 7 and then main will be executed value will become 7-2=5. You can validate this by this code ; def fun1(fu): def inner(n): print("inner") return fu(n+2) return inner @fun1 def fun(n): print("main") return n-2 print(fun(5))
Follow my RUclips channel for the SQL Pyspark DSA in python Oops in python Pandas scenarios based interview questions and answers preparation: youtube.com/@dewithdhairy
Cloud tools : They ask only if u have mentioned in your resume. DSA: string, list, tuples, linkedlist, stack and queue u should prepare just in case although mostly string and list they ask
def normalize(input): result = [] for item in input: if isinstance(item,list): result.extend(normalize(item)) else: result.append(item) return result input = [1,[2,[3,4],5,[6,7,8]]] print(normalize(input))
Same but a bit easier to understand solution if you are vary of recursion concept def helper(result, arr): res = [] for item in arr: if isinstance(item, list): helper(res, item) else: res.append(item) result += res return result def normalize_depth(x): return helper([], x) input_arr = [1, 2, [3, 4, [5, 6, [7, 8, [10, 11], [13, 17]], [14, 18]], 15], 16] print(normalize_depth(input_arr))
@@rishabhchoubey3569 yeah this can happen, your current CTC might be less. Walmart offers quite less compared to other product base. Ask them for 20 LPA base and that you will not counter. Meanwhile keep looking for other companies that can offer you more.
Hi everyone, if you are preparing for Data Engineer Interviews then do checkout the below playlist. In that I have covered important PySpark concepts and their coding questions
ruclips.net/video/YUnZKKao3Sg/видео.html
You explain well but please don't put music in background its distributing if possible please make video without background music
def flat(l):
for i in l:
if type(i)==list:
flat(i)
else:
re.append(i)
Reminder for myself to look at this video
Thanks for sharing and please continue making such videos along with complete roadmap and resources you followed.
Just one correction in decorators : first add will get executed ==> value will become 7 and then main will be executed value will become 7-2=5.
You can validate this by this code ;
def fun1(fu):
def inner(n):
print("inner")
return fu(n+2)
return inner
@fun1
def fun(n):
print("main")
return n-2
print(fun(5))
Thanks, will surely keep making these videos
Follow my RUclips channel for the SQL Pyspark DSA in python Oops in python Pandas scenarios based interview questions and answers preparation:
youtube.com/@dewithdhairy
Thanks for sharing such a detailed video. Very useful for formualting a study plan.
Glad it was helpful! 😀
Thanks for this content Sarthak!
Glad you liked it!
Thank you bhai more making this video
Happy to help 🙂
7:42 bro output will be - b Danny
9:32 it dense rank should be used, not row number
Hey, I think the answer for OOPS question 2 should be 'b Rahul'. Please correct me, If I am wrong 🙏🙏
@@ajaykumargaudo6685 yes
Coding Ques 2 will fail in one case where target value is 10 and in the list two times 5 are there. Remain in X and remain not is used will fail.
@@ShivamSrivastava-e5n can you please post the ans that passes all the test cases. thanks in advance
I watched ur videos.its very helpful. Do they ask on any cloud like azure or aws or any other data structures like stack queues or trees
Cloud tools : They ask only if u have mentioned in your resume.
DSA: string, list, tuples, linkedlist, stack and queue u should prepare just in case although mostly string and list they ask
@@SarthakDasgupta-bp8xithanks.
do they ask to write the code in some compiler or in notepad
def flatten_list(nested_list):
flattened = []
for item in nested_list:
if isinstance(item, list):
flattened.extend(flatten_list(item))
else:
flattened.append(item)
return flattened
# Example nested list
lt = [1, [2, 3, [4, 5, 6, [7, 8, 9]]]]
# Flatten the list
flattened_list = flatten_list(lt)
print(flattened_list)
Thanks for detailed explaination!
Refferel 😂???
Sure, reach out to me on LinkedIn
Thanks for sharing!
Thanks for watching!
Convert the list into a string and just replace every [, ] with empty string("") and than convert the string to list
def normalize(input):
result = []
for item in input:
if isinstance(item,list):
result.extend(normalize(item))
else:
result.append(item)
return result
input = [1,[2,[3,4],5,[6,7,8]]]
print(normalize(input))
Thanks for adding the solution 🙂....really helpful 😃
Same but a bit easier to understand solution if you are vary of recursion concept
def helper(result, arr):
res = []
for item in arr:
if isinstance(item, list):
helper(res, item)
else:
res.append(item)
result += res
return result
def normalize_depth(x):
return helper([], x)
input_arr = [1, 2, [3, 4, [5, 6, [7, 8, [10, 11], [13, 17]], [14, 18]], 15], 16]
print(normalize_depth(input_arr))
Nested loops is important in data engineering?
Yes absolutely. For DSA go with medium level questions in string and list
YOu have a list of list to depth n. write a program to normalise it:
list(eval(str(b).replace(']','').replace('[','')))
Does referral helps in getting shortlisted ?
Referrals are the best way of getting shortlisted in my experience. You get preference when you are referred
I want one on one session with you
what base pay we can expect for 3-3.5 yrs ?
@@rishabhchoubey3569 19-20 base pay. But if your interview went well and also you have counter offer then you can go upto 25 as well
@@rishabhchoubey3569 yeah this can happen, your current CTC might be less. Walmart offers quite less compared to other product base. Ask them for 20 LPA base and that you will not counter. Meanwhile keep looking for other companies that can offer you more.
what is base pay
@@tedduharish7474 mine was 19 approx minus pf
Can u share your sample resume
Sure you may checkout my LinkedIn for this
Don’t put an English title if you’re not gonna talk in English in the video
Done 👍. Checkout my latest videos 😁. Hope you find what you expected.
Ya toh maine boht zyada padh liya hey ya fir ye waala interview sach mey boht easy tha , but kya farak padta hey job toh fir bhi nahi hey 🥲🥲
@@AMARJEETKAUR-m4v yes yeh easy thaa but paisa bhi kam dete hai compared to.other product based. Infact ab aur kam kardia hai.
Thanks for the video bro. what happens if a candidate doesn't know about the java??
Nothing really although you should know atleast one language mentioned in the JD and you should be well versed with OOP