Hi Happy, can you please. Prepare notes for design, architecture ( covering design principles, Patterns, architectural Patterns.. etc) . Eagerly waiting for the same.
Please upload React 19 new feautures with realtime project Thanks for your way teaching concepts and interview Q&A for React,Java,Angular. Heartfull congratulation for your way of teaching and videos.
Hi sir my husband is working in production company since from 2016 now he has an idea to switch to IT industry please let me know is it advisable if so please let me know which technology he can opt
import java.util.Arrays; import java.util.Collections; import java.util.List; public class LargestNumberFinder { public static void main(String[] args) { Integer[] numbers = {34, 67, 23, 89, 12, 90, 55}; List numberList = Arrays.asList(numbers); int largest = Collections.max(numberList); System.out.println("The largest number is: " + largest); } }
package Interview.Misc_Practice; import java.util.Arrays; import java.util.Scanner; public class MergeAndSortArrays { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // Input size for the first array System.out.println("How long do you want the first(1) array to be: "); int n1 = sc.nextInt(); int[] arr1 = new int[n1]; // Input size for the second array System.out.println("How long do you want the second(2) array to be: "); int n2 = sc.nextInt(); int[] arr2 = new int[n2]; // Input values for array 1 for (int i = 0; i < arr1.length; i++) { System.out.println("Enter the value for array1 at index " + i + ": "); arr1[i] = sc.nextInt(); } // Input values for array 2 for (int i = 0; i < arr2.length; i++) { System.out.println("Enter the value for array2 at index " + i + ": "); arr2[i] = sc.nextInt(); } // Call the method to merge and sort the arrays after input int[] mergedArray = mergeAndSortArrays(arr1, arr2); // Print the merged and sorted array System.out.println("Merged and sorted array: " + Arrays.toString(mergedArray)); } // This method merges two arrays and sorts the result public static int[] mergeAndSortArrays(int[] arr1, int[] arr2) { int len1 = arr1.length; int len2 = arr2.length; // Create a new array that can hold both input arrays int[] mergedArray = new int[len1 + len2]; // Copy elements from arr1 to mergedArray for (int i = 0; i < len1; i++) { mergedArray[i] = arr1[i]; } // Copy elements from arr2 to mergedArray, starting after arr1's elements for (int i = 0; i < len2; i++) { mergedArray[len1 + i] = arr2[i]; // Fix the index to correctly place arr2 elements } // Sort the merged array Arrays.sort(mergedArray); // Return the sorted merged array return mergedArray; } }
package Interview.Misc_Practice; import java.util.Arrays; import java.util.Scanner; public class MergeAndSortArrays_2_Repeat_Practice { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // First Array creation and filling System.out.println("How long the first array(1) be: "); int n1 = sc.nextInt(); int[] array1 = new int[n1]; for (int i = 0;i
Please cover Top 100 java coding interview questions
Please make a video on covering top 100 questions on DSA.
i will never give up sir
Hi Happy, can you please. Prepare notes for design, architecture ( covering design principles, Patterns, architectural Patterns.. etc) . Eagerly waiting for the same.
never give up
Please upload React 19 new feautures with realtime project
Thanks for your way teaching concepts and interview Q&A for React,Java,Angular.
Heartfull congratulation for your way of teaching and videos.
Wonderful
Thanks a lot 🙏 🙏 🙏
Hi sir my husband is working in production company since from 2016 now he has an idea to switch to IT industry please let me know is it advisable if so please let me know which technology he can opt
Never Give Up
C# Coding sirrrr one video
Hello sir
Can you share your linked in so we can connect there
Please post for c# sir
Coming soon
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class LargestNumberFinder {
public static void main(String[] args) {
Integer[] numbers = {34, 67, 23, 89, 12, 90, 55};
List numberList = Arrays.asList(numbers);
int largest = Collections.max(numberList);
System.out.println("The largest number is: " + largest);
}
}
package Interview.Misc_Practice;
import java.util.Arrays;
import java.util.Scanner;
public class MergeAndSortArrays {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// Input size for the first array
System.out.println("How long do you want the first(1) array to be: ");
int n1 = sc.nextInt();
int[] arr1 = new int[n1];
// Input size for the second array
System.out.println("How long do you want the second(2) array to be: ");
int n2 = sc.nextInt();
int[] arr2 = new int[n2];
// Input values for array 1
for (int i = 0; i < arr1.length; i++) {
System.out.println("Enter the value for array1 at index " + i + ": ");
arr1[i] = sc.nextInt();
}
// Input values for array 2
for (int i = 0; i < arr2.length; i++) {
System.out.println("Enter the value for array2 at index " + i + ": ");
arr2[i] = sc.nextInt();
}
// Call the method to merge and sort the arrays after input
int[] mergedArray = mergeAndSortArrays(arr1, arr2);
// Print the merged and sorted array
System.out.println("Merged and sorted array: " + Arrays.toString(mergedArray));
}
// This method merges two arrays and sorts the result
public static int[] mergeAndSortArrays(int[] arr1, int[] arr2) {
int len1 = arr1.length;
int len2 = arr2.length;
// Create a new array that can hold both input arrays
int[] mergedArray = new int[len1 + len2];
// Copy elements from arr1 to mergedArray
for (int i = 0; i < len1; i++) {
mergedArray[i] = arr1[i];
}
// Copy elements from arr2 to mergedArray, starting after arr1's elements
for (int i = 0; i < len2; i++) {
mergedArray[len1 + i] = arr2[i]; // Fix the index to correctly place arr2 elements
}
// Sort the merged array
Arrays.sort(mergedArray);
// Return the sorted merged array
return mergedArray;
}
}
package Interview.Misc_Practice;
import java.util.Arrays;
import java.util.Scanner;
public class MergeAndSortArrays_2_Repeat_Practice {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// First Array creation and filling
System.out.println("How long the first array(1) be: ");
int n1 = sc.nextInt();
int[] array1 = new int[n1];
for (int i = 0;i