0% found this document useful (0 votes)
2 views1 page

Array Task (2)

The document outlines a technical training assignment focused on Java programming related to arrays, with a submission deadline of September 19, 2023. It includes 20 tasks that require writing programs to solve various array-related problems, such as finding duplicates, checking for numbers, and performing operations like sorting and merging. Each task must be completed with logic explanations, program outputs, and program explanations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Array Task (2)

The document outlines a technical training assignment focused on Java programming related to arrays, with a submission deadline of September 19, 2023. It includes 20 tasks that require writing programs to solve various array-related problems, such as finding duplicates, checking for numbers, and performing operations like sorting and merging. Each task must be completed with logic explanations, program outputs, and program explanations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Placement Technical Training

Array task questions

Submission Date:19/9/23

Level 1

Complete all the Programs with Logic Explanation, Program with output and Program
Explanation

1. How to find duplicate number on Integer array in Java?


2. How to check if array contains a number in Java?
3. How to find largest and smallest number in unsorted array?
4. How to find all pairs on integer array whose sum is equal to given number?
5. How to find repeated numbers in an array if it contains multiple duplicates?
6. Write a program to remove duplicates from array in Java?
7. Write a Java program to find second largest element in an array of integers?
8. Write a Java program to check the equality of two arrays?
9. Write a Java program to find continuous sub array whose sum is equal to a given
number?
10. Write a Java program to find the intersection of two arrays?
11. Write a Java program to separate zeros from non-zeros in an integer array?
12. Write a Java program to find a missing number in an integer array?
13. Write a Java program to count occurrences of each element in an array?
14. Write a Java program to reverse an array without using an additional array?
15. Write a Java program to find union and intersection of multiple arrays?
16. Write a Java program to find the minimum absolute difference between any two elements
of the given array?
17. How to sort array elements by frequency in Java?
18. Write a Java program to find smallest and second smallest element in an integer array?
19. Array Rotation Program In Java
20. How to merge two unsorted arrays in sorted order in Java?

You might also like