Search posts, tags, users, and pages
Gulshan Kumar
Unleashing Quality and Performance in Software Solutions.
import java.util.Arrays; public class demo { public static void main(String[] args) { int[] arr = {8, 6, 9, 2, 1, 66, 54}; int arrLen = arr.length; // logic to sort the array in ascending order for(int i=0; i<arr...
Markdown supported · ⌘↵ to post
ROSHAN CSE0026
Yes for showcase it was good 😅 Like for teaching purpose
But the solution is not time efficient
Thank you for your feedback!, The approach I have used here might not be the most time-efficient for larger arrays.
But here I aimed only to showcase a basic sorting technique and find the third largest number
ROSHAN CSE0026
Yes for showcase it was good 😅 Like for teaching purpose