@Praveen-G29 make group of 3 members and give tasks to each other👍
@Praveen-G29Ай бұрын
@thaneshgola1781 yes bro ase hi karte ha but kabhi college ka kam ho jata ha ya abhi gar aa gye to consistency mentain nhi rahti
@abhimanyutiwariАй бұрын
@@thaneshgola1781 arthat ...
@clocktv102129 күн бұрын
Me web development kr rha hun daily so ye bhi krna chahiye kya
@animeshdubey941Ай бұрын
Extremely well explained but I would like to say your logic explanation is top notch nut please give more time in making us understand implementation of functions and like when you initialized that 2d strings. Please give more time on this. Hope u take constructive feedback thanks
@ayushburde1Ай бұрын
yeahh initialization of boards right ? But yrr also we've to understand itna milraha h Ig that is enough baki GPT toh h hiii and also ye Recursion is bit tricky naa we need to give time to understand it thoroughly
@azcreation535311 күн бұрын
in isSafe function we don't need to check for horizontal as we are traversing through row only.so there will be no more than 1 queen in a row
@codeverse2Ай бұрын
I just realized, i have completed 46 videos of DSA series 😱
@tanishqvishwakarma9518Ай бұрын
Done 👍 Thank you Didi 😊
@priyanshux_pro3373Ай бұрын
More videos on this type ❤
@LeetCode-SatishАй бұрын
done thank you ma'am do bar lecture dekha maine abb pura samjh aa gya
@amarnarayandwivedi.358Ай бұрын
mam your explaining way is superb
@saptarshiroy33266 күн бұрын
Mam, we do not need to check for all the columns in a particular row while we are in "isSafe" function, beacuase while placing a new Queen there will be no previously placed Queens in that row. class Solution: def isSafe(self, board, row, col, n): ## Check for Queens in the column for i in range(n): if board[i][col] == 'Q': return False ## Check for Queens in the left diagonal above r = row-1 c = col-1 while r >= 0 and c >= 0: if board[r][c] == 'Q': return False r-=1 c-=1 ## Check for Queens in the right diagonal above r = row-1 c = col+1 while r>=0 and c < n: if board[r][c] == 'Q': return False r-=1 c+=1 return True def nQueens(self, row, ans, board, n): if row == n: ans.append(board.copy()) return for j in range(n): if self.isSafe(board, row, j, n): board[row] = board[row][:j]+"Q"+board[row][j+1:] self.nQueens(row+1, ans, board, n) board[row] = board[row][:j]+"."+board[row][j+1:] def solveNQueens(self, n: int) -> List[List[str]]: ans = [] board = ["."*n for _ in range(n)] self.nQueens(0, ans, board, len(board)) return ans
@ganeshjaggineni40972 күн бұрын
NICE SUPER EXCELLENT MOTIVATED
@chhavi-thehelpinghand5281Ай бұрын
Thanks mam you solve our many problems First comment
@wings9345Ай бұрын
Great explanation ! ❤
@Socialmediaplatform0Ай бұрын
Nice 🎉
@Totalvideoediting2.0Ай бұрын
Best 😊
@Shaswat_ShrivasАй бұрын
Lecture completed!
@rithik3958Ай бұрын
Hii queen solved 👸 queen problem ❤
@abhijeetthakur453727 күн бұрын
if the board is 2D then it should be like vector board;
@abhimanyutiwariАй бұрын
Awesome 🤩 hats off 🤠
@SaeedAjmal-k2dАй бұрын
Thank you Apna collega for guide
@32rushyaАй бұрын
Lecture No.45 Complete ✅
@ASultani-mj1eeАй бұрын
thank you Didi samaj gya.... after seeing 10 videos another
@nabin-x4fАй бұрын
Completed🎉🎉
@javeriamateen8260Ай бұрын
great work 🥰🥰
@CodextronАй бұрын
Great explanation!
@PrashChandra71Ай бұрын
Done Today lecture❤
@jyothiradithyag78714 күн бұрын
in the nqueens function your assigning ''Q' and ''.' with = assignment operator if some dummy put the comparsion operator there like me it will print infinte ''.'.So just be aware of that.
@azharalibhutto1209Ай бұрын
Great ❤❤❤
@mrsam07kАй бұрын
Hello Shraddha Mam ☺️☺️
@ShreyaKaroddeoАй бұрын
Thank you ❤
@asnighoshdastider1971Ай бұрын
Thank you so much!!!
@PiyushGupta-y3iАй бұрын
Thank you didee
@user-xw5kx1io8nАй бұрын
Thanks a lot for such content. Long Live. From Pakistan
@trexsagar440812 күн бұрын
we can optimise it more like instead of wirting 4 loops we can write 3 loops for same col, upper-right diagonal, upper-left diagonal to check for the right place for queen code --> boolean isSafe(int n, char[][] board, int row, int col) { // check for same column above the current position for (int i = 0; i < n; i++) { if (board[i][col] == 'Q') return false; } // check for upper-left diogonal for (int i = row - 1, j = col - 1; i >= 0 && j >= 0; i--, j--) { if (board[i][j] == 'Q') return false; } // check for upper-right diagonal for (int i = row - 1, j = col + 1; i >= 0 && j < n; i--, j++) { if (board[i][j] == 'Q') return false; } return true; }
@VarunJain-ii1mnАй бұрын
Completed
@SxV_editz29 күн бұрын
More videos plz mam ❤
@Sunnychaudhary5609Ай бұрын
done mam
@tanishqvishwakarma9518Ай бұрын
# 50 videos milestones completed 🎉🎉🎉
@salmanmehmood470Ай бұрын
Nice 🙂
@MdSahidReja194 күн бұрын
Completed on 28-01-25
@anandtiwari6596Ай бұрын
Thanks didi
@pranaveditzzz88426 сағат бұрын
mam i think you tell wrong ,time complexity it is O(n*n!) .O(n!) will be there if we will done pruning but here we are not doing any pruning ig
@known-rr6ptАй бұрын
Hello di , Can you please make a road map video for students to become data scientists in 2025 like you made a video for web development
@amritverma516627 күн бұрын
mam, I am having trouble in recursion topic, I have completed all the previous videos as well but still I am not able to get the confidence.
@tanayprabhakar894Ай бұрын
didi aaj he ki DAA(Design and Analysis of Algo) ke exam mein mai ye likh ke aaya, I wish ye kuch der pehle aaya hota 🥹
@SatyamKumae-mw5fqАй бұрын
Ye program aya tha kya?
@Rexx-fj5wtАй бұрын
Bai mara ajj haa😂@@SatyamKumae-mw5fq
@ayushburde1Ай бұрын
umm.. this was interesting one espcially how to place queens in safe zone
@InfoPanel7902Ай бұрын
I can't understand why ans is of type vector and not vector Please help me
@iprosenjitpАй бұрын
Since the type of "board" is vector and we are storing "board" in "ans," the type of "ans" must be vector.
@InfoPanel7902Ай бұрын
@iprosenjitp but ans could have been vector type and we could just put the value of board into ans
@iprosenjitpАй бұрын
@@InfoPanel7902 We may need to store multiple "board" values. That's why the type of "ans" is vector of vector.
@sahasantuАй бұрын
Since you are adding a single Q per row, what is the point of checking horizontal safety?
@prateekgupta2997Ай бұрын
while the loop runs for the second queen q2 it shouldn't be placed at the q1 path , Or we can say that till all the queens are placed to their correct position i.e Q1,Q2,Q3,Q4 , we couldn't assume that the position of Q1 at the starting was correct until all are placed
@priyajangra6049Ай бұрын
Best
@AliKhan-l6l5zАй бұрын
2nd ❤
@DipAhmed1010Ай бұрын
❤❤❤
@Ravi_NegiАй бұрын
Madam plz.. Make a video on 2025 which field Boom
@krishnakumar-iz4xh9 күн бұрын
day 38 lecture 45 completed
@UnderGradPlayersАй бұрын
First comment ❤
@HrishabhPatel09Ай бұрын
Code Here: class Solution { public: bool checkHorizontal(int row,vector &board){ int n = board.size(); int count = 0; for(int j=0;j=0){ if(board[i][j]=='Q')count++; i--; j--; } // bottom-right check i = row+1; j = col+1; while(i
@chaitanyakhare1869Ай бұрын
completed 26 dec
@divyanshuraj004Ай бұрын
Ma'am ek c++ ka v video banayea
@jyothiradithyag78714 күн бұрын
17th Jan
@Raghu-r9Ай бұрын
👏
@LL16YTАй бұрын
Kya timing hai...kaal exam hai mera iss topic ka
@abhijeetthakur453727 күн бұрын
kon se semester me ye question puch rha h bhai , mazak me mt lena sach me puch rhe hn
@sandeepmehta-e9lАй бұрын
present didi
@Crazyconsole-786Ай бұрын
Mam why are 4 videos are hidden in this playlist
@ROHITKUMARSENAPATI-mu7ztАй бұрын
❤
@yogeshbhatt3440Ай бұрын
👏👍👍👍👍
@Goldy-w3zАй бұрын
5/12/2024 lecture 45 completed!
@Learntonew123Ай бұрын
Didi SAP ABAP par ek video banaye please
@ayushijain1451Ай бұрын
playlist m 4 videos are hidden likha aata h..what this means????
@RajibRoy-u1oАй бұрын
Mam Amazon me job pane ke liye age limit kya hai
@shwetakumari100228 күн бұрын
lecture 45 completed on 4th jan
@fejanansari8416Ай бұрын
First ❤
@Crazyconsole-786Ай бұрын
Mam can you please upload videos with in a gap of 1-2 days please
@headempire2865Ай бұрын
37th
@kiransoni8712Ай бұрын
Day 47 05-12-24😊😊
@AtharvTIWARI-ce6oqАй бұрын
hello I am second
@HardikAgarwal-v5bАй бұрын
Mam lecture thode jaldi jaldi upload karo Kab tak complete karoge
@HarshSharma-fz6ofАй бұрын
Why did she left microsoft.
@CreatefilmclipАй бұрын
Shraddha didi please hame 11 class me acha score karne ke liye kya kare please didi ispe aap video jarur banana 😊😊😊❤❤❤
@sayanbera7922Ай бұрын
First 🥇
@rajeevyadav480218 күн бұрын
Ma'am backtracking me thoda doubt hai
@Haider_ALI_14-s7dАй бұрын
I'm 1st viewer.
@kashishjuneja5214Ай бұрын
29/12/24
@Rahulyadav-x2c1bАй бұрын
I am first😮
@anupamsrivastava523Ай бұрын
hey i am 4th year ECE student i have studied theoretical subjects but haven't coded DSA problems althaugh i have studied DSA theory and stuff in university, i need to be placed by january , i have no projects in ML or any other subject can someone tell me what to do.pls i am un need for some guidance. what to study right now and what field to aim for.
@asksaishree5444Ай бұрын
Hi
@sangamkhannaАй бұрын
Dii aaj hi DAA ka exam de k aaya hu…thodi late hogye😭😭
@mdfarhan5364Ай бұрын
attendance 45
@ApurvSahu-s4mАй бұрын
completed 12/10/2024
@Aliens.reportАй бұрын
1st
@Learntonew123Ай бұрын
Sap ABAP class
@cheetawarrior524Ай бұрын
Now I have realized how dumb I am
@AK.SAHB01Ай бұрын
i am pakistani
@Dasvimal001Ай бұрын
Jaldi jaldi like comments kr dete hai like mileagA😂😂
@VishnuSingh_vbАй бұрын
Good night 🌃😂
@abhijit_panditАй бұрын
Mam plz Java dsa KZbin par padhaye. Plz❤❤❤❤❤❤❤ koun koun chahta hai
@AnshKashyap-v6uАй бұрын
Kon kon baith kar like or views dekh raha hai...😅
@YouTub-f3cАй бұрын
1st comment 😊
@animeshdubey941Ай бұрын
Extremely well explained but I would like to say your logic explanation is top notch nut please give more time in making us understand implementation of functions and like when you initialized that 2d strings. Please give more time on this. Hope u take constructive feedback thanks
@AkankshaPawar-p7gАй бұрын
Completed 👍
@AK.SAHB01Ай бұрын
best
@narsimharao8565Ай бұрын
❤
@animeshdubey941Ай бұрын
Extremely well explained but I would like to say your logic explanation is top notch nut please give more time in making us understand implementation of functions and like when you initialized that 2d strings. Please give more time on this. Hope u take constructive feedback thanks