TCS Java Coding Interview | Use this simple method to solve any Java Problem | Selected
Vložit
- čas přidán 7. 09. 2024
- In this video, we covered TCS Java Interview and the candidate solved the problems. He got selected in the company with the package of 9 LPA.
We solved two problems:
1.) Finding special character in the String
2.) Check if one String is rotation of another String
Products I use:
Green Soul Vision Chair: amzn.to/3TcWYLe
Microphone: amzn.to/46GGjTb
SSD: amzn.to/49ZYM05
Mobile: amzn.to/4a5Yp3W
Do you want to appear for a mock interview by expert?
Register at:
docs.google.com/forms/d/e/1FAIpQLSd9mr9Siq63RxpdmZF9HVRHNjGj1vaJr0KAILIHCzfvCtJxkQ/viewform
Do you want to get trained by industry expert?
Register at:
docs.google.com/forms/d/e/1FAIpQLSciQq-hHy4ES8rrzZsgdZQMR0gPObvEHR3RpRvXMKvtZ6cgTQ/viewform
Such a great video man, Thank you very much.
Just adding some efficient answers which I found,
Count of Non special Characters:
word.chars().filter(c -> c.isLetterOrDigits() || c.isWhiteSpace()).count(); //Just making use of streams here
Removing Non Special Characters:
word.replace("[^a-zA-Z0-9\\s]", ""); //Replaces all the substring which matches with the regex
Rotation:
return s1.length()==s2.length() && (s1+s1).contains(s2);
Bhai tumhare content me itna dmm hai maine ek video dekhte hi tumhe follow kr liya keep it up
Super bro really great job also include SQL questions and more coding questions really 😍😍😍😍😍😍 amazing content keep doing ❤️❤️❤️
In this first question we can use regex replaceAll function and than subtract the original string with the new string
I think this should give the answer
the idea in most of the interviews is not to use built-in function, since interviewers are attempting to see your logical thinking.
@@franciscov511 thanks for the info
Could you please include other questions that are asked beside coding like system design , DBMS etc jus to be aware of topics please ?
Yes we will try to cover these questions 👍
Hey hu today I have interview in dbs pls tell me na in dbs what did they ask you
Also upload for MERN stack developers interview round questions
Thanku so much 🙏sir for uploading such questions And answer of interview
this is not real... only role play done...nice work..efforts should be appreciated....good work.....
Yes. This is to explain concepts to people. 👍
Crazy broo...
Super undi Vedio.....
ABCD should rotate CDBA , using this condition if u give BCDA then also it is showing True
Great job 👍
How to build java logic like this what I need to😢😢😢
Doing great job
These questions are simple. Do they really ask these kinds of questions for 2 years of experience?
I'm sure that they don't ask these simple questions even to the freshers
regular expressions se haste khelte ho jata 🙂
TCS is not first choice of any Experienced candidate because they pay very very less to candidate because of mass hiring ... Must prefer product base companies u deserve better than better
Nicely done 👍🏻
Bro what are the topics should be covered for coding round like based on what topics they give the problems can you tell that and can you tell were to practice these types of questions
Hi
What if i could give S1="ABCD" and S2="ABCD", then what would be the output?
Could u plz help me on that?
Thanks in Advance.
yes it is rotated for n times the length of string
False
May be its return true immediately after condition match
true
Yeah probably should add another condition tha str1 != Str2
Is the same level of coding expected from Testers too? for 3 years of experienced.
hello sir ,I have completed btech in IT in 2017.My career gap is 5 yrs.Can I get job in It industry after 5 yrs gap.plzz rlpy
yes, i had 6 year gap, i passed out in 2015. i did coaching class for 3month in 2021 January to March to learn front end web development with html, css. , javascript and angularjs. then i gave interview and I got 3 lakh per annum package as fresher and today i get 4.5 lakh per annum. and i never do coding in college. i did never develop interest in computer engineering, my father wanted to so I did engineering. then after i spent 6 year to pass upsc but I didn't. so In the end, i have to choose computer field to get job. and i did coaching for 3month. even I tell u that i didn't know what is html or any language logic etc. my college is third class where we didn't go for attendance, we only went for exam. so if I do it then u definitely do it. only improve skill. not perfectly but clear your concept nearly 50%. i felt you bro, i had same situation 1 year.
Hi Kumar,
Yes, you can definitely get the job in the IT industry but you have to start with a small company and then grow from there. Also, prepare a solid justification for the 5 year gap. This question will be asked by almost every HR. Best of luck 👍
@@abhishekparmar79bro choching kha se ki thi ??
Might be your Questions are helpful, but I think this interviewer and interviewee is same, I have heard the same voices in many of your different videos.
Are you guys scripting the Questions to make it look like a real Interview ??
Yes, this is mock interview with real question
Hi i'm having 3 years of experience in development field with 2 years of gap. With this much of gap, whether company will accept me Or not. Will i get a job
Yes. The company will accept you. Try to form a valid reason for 2 years gap along with what you did in those 2 years to improve your skills.
Appear for as many interviews as possible, this will increase your chances of selection. 👍
@@cloudtech5260 thank you
If someone having 2 years of experience as QA and wanting to switch to Java developement role, would the question asked be of experienced level or of freshers level ?
For QA, if the role involves writing code for automation scripts them coding questions can be asked. But generally that should be easy ones. 👍 Best of luck
Bro can you tell your path in java, I mean from where you learn java....
The main thing is hands on 👍
Anyone can explain that second prgm in tamil please🙏
Java 1 year experience ki hirings jaruguthundhi aa?
🥺🥺bro where did you practiced coding? Did you code daily during when you were fresher? I feel coding hard , but i literally know the depth of java, logic all where did you practiced, are these questions available in any platform like, or just
Hello,
We contact people who recently appeared for interviews and collect the questions. Then we solve the problems and make a video.
@@cloudtech5260 You're really doing a great job. May God bless you.🤗
Why error is showing while I trying to solve this que using same code
What is the error?
Ye 2 years exp walo ka question tha?
Cloud tech sir please once more explain in tamil please, can u do it sir.
Hi Sathya,
Apologies. I don't know the Tamil language.
Hi, can you please tell me in detail how many rounds r there in case of TCS for 2 years experienced candidate ?
Hi,
Two technical rounds and one HR round. Thanks
@@cloudtech5260 thanks for your reply, so there is no written kind of round right?
Twenty rounds and they still won’t hire you. TCS is famous for jerking around.
@@cloudtech5260 what about freshers, Sir? Would you mind sharing your insights?
Bhai TCS ka band wise limit hota hai mere pas 1 counter offer tha I am carring 7 years of exp ...
2 years ko 9 ka nahi dega TCS
Fake
Hi Kunal,
This is mock interview to spread knowledge 👍
Very simple question
Nyc❤
Bhai apply krne ke liy link v de diya kro
Please make video for 10 years experience
Yes will do 👍
DONE
Is its real interview ?
Hi Gopal,
Good day.
Mock interview. Every interview on this channel is a mock interview. 👍
Eeeeee he have cold 🥶 🤧
Scripted AF
Mock interview 👍
-1 0 are used as exit status of any program or process ✌️ if am wrong please correct me
Hi,
Running program is a process. So ideally exit code should belong to process but coded in program.
Fake call
It's mock interview.
Well vedeosBro, give me that person contact
Thanks. We don't have contact details of the candidate.
Fake guy.
Hi Debasish,
This is mock interview to spread knowledge 👍
public static void main(String []args)
{
String str = "@itsss777@okayy@!$2kjbfhn!kqnfew!ksn$anfsk#";
int count = 0;
Map newMap = new HashMap();
for(int i = 0; i < str.length(); i++)
{
if(!Character.isDigit(str.charAt(i)) && !Character.isAlphabetic(str.charAt(i)))
{
String str_char = String.valueOf(str.charAt(i));
if(newMap.containsKey(str_char))
{
str_char = String.valueOf(str.charAt(i));
newMap.put(str_char, newMap.get(str_char)+1);
}
else if(!newMap.containsKey(str.charAt(i)))
newMap.put(str_char, 1);
}
}
System.out.print(newMap);
}
In every company interviewer is same ? 🥲
This is mock interview with real time questions.
Hello sir, I am civil engineering passed out student having 5 years of gap, can I get job in it industry?
Yes