TCS Java Coding Interview Question Answers

preview_player
Показать описание
In this video, we solved Java Coding Interview Question which was asked in TCS Interview. The candidate had 1.9 Years of Experience working as a Java Developer, He solved the problem and got selected with CTC of 7.5 LPA.

For Complete Java Interview Preparation watch Playlist:

#leetcode
#java
#interview
#javaprogramming
#javacoding
#javainterviewquestions
#TCSInterviewQuestions
Рекомендации по теме
Комментарии
Автор

In the next video can you share the Java Full Stack Devlepoers
interview questions...

riteshwadekar
Автор

So useful information 🙏 and start training institute I am interested I join 👍

bharathmaddikuntla
Автор

Brother plz increase the level of Q. Bcz yesterday I gave one MNC interview, they asked tricky coding questions on java

abhishekjha
Автор

public class LargestNoInArray {
public static void main(String[] args) {
int a[]= {-1, 30, 100, 2000, 3, 4, 111};

//first approach sort the array and print the last element in the array
Arrays.sort(a);
System.out.println("first approach: The LArgest element in the arrays is : "+a[a.length-1]);

//second approach finding the largest element in the list
//Initialize the first element in the array in l
int l=a[0];

for(int i:a)
if(i>l)
l=i;

System.out.println("Second approach: the largest element in the list is :"+l);

//using the stream api approach
int max =
System.out.println("third approad using stream api: The largest element in the arrays is: "+max);
}

}

sachingawade
Автор

Hlo sir this is basic question how they can ask this simple questions for experience candidates, is this true ? Or your motivating the people by story like as u said ?

hnudj
Автор

In Java 8 :
//Dedicated to all the CloudTech Followers

Integer[] arr = {8, 3, 2, 5, 7, 9};
Integer topElement =

venkateshs