🔥TCS Coding Live Class-2 | TCS Latest pattern Coding Questions 🔥 C++ & Java
ฝัง
- เผยแพร่เมื่อ 2 เม.ย. 2024
- 🚨private whatsapp group for jobs : www.whatsapp.com/channel/0029...
🚨TCS NQT Crash Course: kfqrn.courses.store/58325
🚨Achievers 2.4 Batch for Preparation:
kfqrn.courses.store/59813
🔴TCS Apply Link:- www.tcs.com/careers/india/tcs...
#TCS #hiring #offcampus
*****************************************************************************
New hiring playlist:cutt.ly/Vb2gMps
Selected student playlist:cutt.ly/9b2gLpF
Check out our courses at: cutt.ly/Ib2f0NQ
TCS Material : on-app.in/app/oc/58329/kfqrn
Data Structure: on-app.in/app/oc/84251/kfqrn
Telegram Link: t.me/free_placement_material
********************
for more such videos subscribe our TH-cam channel:
bit.ly/3nvjOLA
*******************
App Link(download and review) : cutt.ly/Jb2gjqI
********************
Follow OnlineStudy4U on Social Networks:
Instagram:
Linkedin: cutt.ly/tb2fhks
Subscribe: bit.ly/3nvjOLA
Facebook: cutt.ly/8b2f5gH
Telegram Link: t.me/free_placement_material
********************
Thank You..!"
The topics covered in this video are(tags)
TCS hiring
Off campus drive
new off campus opportunities
off campus jobs 2021
tcs hiring
software hiring
data engineer intern
hiring for interns 2021
jobs freshers
fresher hiring
hiring challenges 2021
new job opportunities 2021
freshers hiring
Hiring freshers
STEP internship
product company
full time job
tcs nqt score
tcs nqt hiring
what to do with tcs nqt score
job opportunities 2021
summer internship
off campus
off campus jobs
off campus 2021
off campus 2020
off campus drive
off campus placement
off campus internship
off campus recruitment
off campus hiring
accenture 20 july 2023 questions
accenture 20 july question solution
accenture 2023 exam paper
accenture questions paper
accenture 2023 paper solution
off campus drive 2021
off campus updates
off campus 2021 batch
off campus interview
off campus jobs for freshers
off campus jobs updates
off campus jobs latest
off campus recruitment 2021
latest off campus drive 2021
Off campus drive 2021
jobs 2021 latest
internship opportunities 2021
jobs for bca mca
jobs for bca students 2021
jobs for mca students 2021
new off campus opportunities
off campus jobs 2021
amazon hiring freshers
amazon internship 2021
amazon hiring interns
data science internship opportunity 2021
hiring for interns 2021
hiring challenges 2021
new job opportunities 2021
freshers hiring
Hiring freshers
STEP internship
product company
full time job
job opportunities 2021
summer internship
Good income work from home
private job vacancy 2021
new job vacancies 2021
private job notification 2021
high paying work from home jobs
work from home jobs no experience
work from home jobs 2021
how to find private job easily
Latest Job Updates
private company jobs
how to find private jobs
how to apply private compnay jobs
how to apply jobs direct in comapny
how to apply job in company at home
Work from Home Customer support Job for all Freshers
mitsogo previous year questions
mitsogo aptitude round
mitsogo previous year aptitude questions
mitsogo aptitude questions
Hashtags:
#mitsogopreviousyearquestions
#mitsogoaptituderound
#mitsogopreviousyearaptitudequestions
#mitsogoaptitudequestions
#infosysterminate
#infosysalary
#salaryofinfosys
#mindtreehiring
#mindtreehiring2021
#offcampusjobs
#offcampushiring
#workfromhome
#2021jobs
#hiring2021
#offcampushiring2021
#offcampushiring2022
#offca
#2022jobs
#btechjobs
#onlinelearning
#ciscojobs
#tcsnqtscore
#whattodowithtcsnqtscore
#cisco
#freshersjobs
#offcampushiring2022
#offcampusjobs2022
#offcampusdrivefor2022batch
#offcampusjobs
#offcampusdrivefreshersbatch
#offcampusjobs2022
#freshersjobs
#btechjobs
#mcajobs2022
#mtechjobs2022
#bejobs2022
#tcshiring
#amazonhiring
#infosyshiring
#techmahindrahiring
#capgeminihiring
#mindtreehiring
#workfromhome
#remotework
#workingfromhome
#workfromhome
#workfromhomejobs
#parttimejob
#parttimejobsforstudents
#capgeminitechnicalmcq
#capgeminiexam2024
#capgeminiessaywritting
#capegemini2024exam
#deloitte2024
#deloittemcq
#deloittepreviousyearquestions
#parttimework
tcs nqt 2024
tcs nqt 2024 batch
tcs nqt 2024 free
tcs off campus 2024
tcs off campus hiring for 2024 batch
tcs 2024 batch hiring
tcs nqt 2024 syllabus
tcs nqt 2024 free registration
tcs nqt 2024 exam date
tcs nqt 2024 batch registration
tcs free nqt for 2024 batch
tcs free nqt
tcs free hiring 2024 batch
tcs free hiring
tcs hiring 2024 batch
tcs hiring 2024
tcs off campus drive for 2024 batch
tcs recruitment 2024
tcs nqt
how to apply for tcs nqt 2024 batch for free
tcs off campus hiring for 2024 batch
I just realized that something like this..................isn't my cup of tea. There's no way I could ever pull off something like this all by myselves no matter how much I study or become proficient at some language.
Done
sir we need more questions on matrix that is asked in TCS . btw sir thankyou for your efforts❤
What class name should I take while coding for TCS NQT in Java?
Sir please tell in python language
Is javascript accepted in interview or not
#include
using namespace std;
bool isValid(int x,int y,int m,int n)
{
return (x>=0 && x=0 && y>m>>n;
int x,y;
cin>>x>>y;
vectorforest(m,vector(n));
for(int i=0;iforest[i][j];
}
}
int ans=bfs(x-1,y-1,m,n,forest);
cout
code is wrong
u should add xz and yz instead of x,y
error:
int new_x=x+dir.first;
int new_y=y+dir.second;
correct :
int new_x=xz+dir.first;
int new_y=yz+dir.second;
CODE :
#include
using namespace std;
bool isvalid(int x,int y,int m,int n){
return(x=0 && y=0 );
}
int bfs(int x,int y ,int m,int n ,vector&mat){
vectorvisit(m,vector(n,false));
queueq;
q.push({{x,y},0});
visit[x][y]=true;
vectordir={{0,1},{0,-1},{-1,0},{1,0} , {-1,-1},{-1,1},{1,-1},{1,1} };
int ans=0;
while(!q.empty()){
int s=q.size();
while(s--){
int xz=q.front().first.first;
int yz=q.front().first.second;
int time=q.front().second;
ans=max(ans,time);
q.pop();
for(auto &d : dir){
int nx=xz+d.first;
int ny=yz+d.second;
if(isvalid(nx,ny,m,n) && mat[nx][ny]=='T' && visit[nx][ny]==false){
visit[nx][ny]=true;
q.push({{nx,ny},time+1});
}
}
}
}
return ans;
}
int main(){
int m,n,x,y;
cin>>m>>n;
cin>>x>>y;
vectormat(m,vector(n,'A'));
for(int i=0;imat[i][j];
}
}
int ans=bfs(x-1,y-1,m,n,mat);
cout
Thanks for mentioning
I have misplaced xz with x and yz with y
But inside the scope of while loop only xz , yz is changing everythime but not the x and y
I have explained that in the explanation part of the code
code is wrong
u should add xz and yz instead of x,y
error:
int new_x=x+dir.first;
int new_y=y+dir.second;
correct :
int new_x=xz+dir.first;
int new_y=yz+dir.second;
CODE :
#include
using namespace std;
bool isvalid(int x,int y,int m,int n){
return(x=0 && y=0 );
}
int bfs(int x,int y ,int m,int n ,vector&mat){
vectorvisit(m,vector(n,false));
queueq;
q.push({{x,y},0});
visit[x][y]=true;
vectordir={{0,1},{0,-1},{-1,0},{1,0} , {-1,-1},{-1,1},{1,-1},{1,1} };
int ans=0;
while(!q.empty()){
int s=q.size();
while(s--){
int xz=q.front().first.first;
int yz=q.front().first.second;
int time=q.front().second;
ans=max(ans,time);
q.pop();
for(auto &d : dir){
int nx=xz+d.first;
int ny=yz+d.second;
if(isvalid(nx,ny,m,n) && mat[nx][ny]=='T' && visit[nx][ny]==false){
visit[nx][ny]=true;
q.push({{nx,ny},time+1});
}
}
}
}
return ans;
}
int main(){
int m,n,x,y;
cin>>m>>n;
cin>>x>>y;
vectormat(m,vector(n,'A'));
for(int i=0;imat[i][j];
}
}
int ans=bfs(x-1,y-1,m,n,mat);
cout
Thanks for mentioning
I have misplaced xz with x and yz with y
But inside the scope of while loop only xz , yz is changing everythime but not the x and y
I have explained that in the explanation part of the code
voice to ek baar bhi sahi nhi krenge but promotion 28 baar krenge 🥲
That’s why we are discontinuing free classes . People don’t value when something is for free , they find what is wrong in it.
In 1 and half hour of class, we told about the basic course for max 5min. But this guy saw only the 5min and he wants selection in MNC’s 😂😂
😂
Tu padha de
@@OnlineStudy4u SIR CONTINUE THIS CLASSES SIR PLEASE....
is this previous year questions
Yes