LeetCode
Question
·
Jun 2023
·
Los Angeles
Second Largest Element in array | ✅ Java | 0 ms | 100% Faster
-1 upvotes
164 views
1 reply
Question Details
Problem Statement Given an array arr of size n, print second largest distinct element from an array. Example 1 : Input: N = 6 Arr[] = {12, 35, 1, 10, 34, 1} Output: 34 Explanation: The...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays