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); }
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.
Very informative from the subscriber
Hy please make a video for python automation question for 2_5 yr.
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);
}
Is he Experienced person Or Fresher?
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
Really helpful video .
Was the candidate selected?
I want to give interview with you, I have 2 years experience in software testing
Hi sir can i get that git repository link please..
😊😊😊😊helful
Hiii sir can you please interview me
Me also..