Episode 11 Mock Interview, Ruangguru Live Coding.

  Рет қаралды 13,024

Ruangguru Engineering

Ruangguru Engineering

Күн бұрын

Пікірлер: 12
@firman175
@firman175 3 жыл бұрын
Pengalaman berbicara, ngga cuma nge solve code tapi tetep clean juga code nya. Happy path
@damaroro
@damaroro 2 жыл бұрын
Live coding test selalu bjkin keder, kadang kita udh tau solving nya,tapi di tengah jlan suka ga fokus karena keder
@ryanza3027
@ryanza3027 5 ай бұрын
Sepintas lihat codenya ini masih terlalu slow. Dibagian "in pairs.keys()" di python ini akan buat jadi list of keys dan kemudian mencari didalam list. So basicly it's nested loop. Seharusnya "if c in pairs", that will be much faster.
@maulanaaji1904
@maulanaaji1904 3 жыл бұрын
Keren, cuma agak kurang jelas aja mas text editor nya pas share screen :)
@galangputratama1751
@galangputratama1751 3 жыл бұрын
owh, jadi di running-nya di IDE kita sendiri ya
@hafizmfadli
@hafizmfadli 2 жыл бұрын
soal umum di hackerrank 😂
@ekaputra3971
@ekaputra3971 3 жыл бұрын
next berarti system design ya? keren (y)
@tonidwi4123
@tonidwi4123 2 жыл бұрын
Fe dan be sama aja soalnya min?
@solodeveloper7483
@solodeveloper7483 2 жыл бұрын
aku dulu mock interview ruang guru tapi code ny gaboleh di compile
@kers2387
@kers2387 2 жыл бұрын
Kelanjutannya gimana mas kalo boleh tau? Nunggu kabar selanjutnya berapa hari ya?
@aliif
@aliif 2 жыл бұрын
itu emang gak di compile codenya kalo pake python soalnya python interpreted
@grasroot1247
@grasroot1247 Жыл бұрын
join challenge slur! adding more difficulties by adding bracket stratification. level 1 { } (highest) level 2 [ ] level 3 ( ) (lowest) this new solution validates the bracket level first and continue check bracket pair. def solution(a): open=0 s=list(a) lv={ '{':{'v':1,'w':0}, '}':{'v':1,'w':1}, '[':{'v':2,'w':0}, ']':{'v':2,'w':1}, '(':{'v':3,'w':0}, ')':{'v':3,'w':1}, } open={1:0,2:0,3:0} #level validation currlv=-1 for e in s[:int(len(s)/2)]: level=lv[e]['v'] if level=currlv: currlv=level #pair validation open={1:0,2:0,3:0} for e in s: level=lv[e]['v'] pos=lv[e]['w'] if pos==0: open[level]+=1 else: open[level]-=1 return all([v==0 for v in open.values()]) if __name__=="__main__": l={ '{[()]}':True, '{[(]}':False, '[{()}]':False, '{(())}':True, '{([])}':False, '{((]}':False, '[{()()}]':False, '[{())(()}]':False } for k,v in l.items(): ans=solution(k) print(f'Input:{k} Answer:{ans}. Test passed:{ans==v}') # Will print # Input:{[()]} Answer:True. Test passed:True # Input:{[(]} Answer:False. Test passed:True # Input:[{()}] Answer:False. Test passed:True # Input:{(())} Answer:True. Test passed:True # Input:{([])} Answer:False. Test passed:True # Input:{((]} Answer:False. Test passed:True # Input:[{()()}] Answer:False. Test passed:True # Input:[{())(()}] Answer:False. Test passed:True
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,6 МЛН
Coding Interview | Software Engineer @ Bloomberg (Part 1)
30:05
Keep On Coding
Рет қаралды 4,8 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Ngerjain Soal TEST LATIHAN CODING Programmer JUNIOR
15:58
Dea Afrizal
Рет қаралды 81 М.
Github Tutorial (Push, Reset, SSH KEY, Clone)
29:25
BrianRempas
Рет қаралды 21
USA Olympiads || All Solutions || #maths
10:35
Learn with Christian Ekpo
Рет қаралды 234
Cara Jawab Pertanyaan Interview: Ada Pertanyaan Untuk Saya?
9:19
Samuel & Claudya
Рет қаралды 453 М.
progress 1 question 6
21:56
Azrul Hanif
Рет қаралды
China | Math Olympiad | Nice Algebra Exponential Problems
11:09
Aplikasi Kuis Digital dengan GUI | Kelompok 8 | AlgoritmaPemrograman | RA |
27:43
Senior React.js Interview Question
21:33
Web Dev Interviews
Рет қаралды 57 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН