I wanted to point out one thing at 23:30 the apporach candidate wrote will take o(n) where as what sirt told will take o(nlogn) because or sorting .. so the first approach is more optimised as compared to second one.
public static void main(String[] args) { int a[]={1,423,6,46,34,23,13,53,4}; int max = Arrays.stream(a) .max() .getAsInt(); System.out.println("Maximum is " +max); int min=Arrays.stream(a) .min() .getAsInt(); System.out.println("Minimum is " +min); }
Very informative from the subscriber
I wanted to point out one thing at 23:30 the apporach candidate wrote will take o(n) where as what sirt told will take o(nlogn) because or sorting .. so the first approach is more optimised as compared to second one.
Really helpful video .
Was the candidate selected?
public static void main(String[] args) {
int a[]={1,423,6,46,34,23,13,53,4};
int max = Arrays.stream(a)
.max()
.getAsInt();
System.out.println("Maximum is " +max);
int min=Arrays.stream(a)
.min()
.getAsInt();
System.out.println("Minimum is " +min);
}
Hy please make a video for python automation question for 2_5 yr.
Hi sir, how to give mock interview bcz the gmail id which u have given showing as invalid , pls give correct id to mail you
Pls share your CV at rdautomationlearning@gmail.com
@@rdautomationlearning609 Thanks for the comment sir
@@PrinceKumar-c6g9h rdautomationlearning@gmail.com
Is he Experienced person Or Fresher?
I want to give interview with you, I have 2 years experience in software testing
😊😊😊😊helful
Hi sir can i get that git repository link please..
Hiii sir can you please interview me
Me also..