You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dsa-solutions/gfg-solutions/0003-at-least-two-greater-elements.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -82,10 +82,9 @@ The problem is to find all elements in an array except the two greatest elements
82
82
}
83
83
};
84
84
```
85
-
86
85
</TabItem>
87
-
<TabItem value="Python" label="Python" default>
88
-
<SolutionAuthor name="@iamanolive"/>
86
+
<TabItem value="Java" label="java">
87
+
<SolutionAuthor name="@ImmidiSivani"/>
89
88
```Java
90
89
class Solution {
91
90
public long[] findElements( long a[], long n)
@@ -100,7 +99,6 @@ The problem is to find all elements in an array except the two greatest elements
100
99
}
101
100
}
102
101
```
103
-
104
102
</TabItem>
105
103
</Tabs>
106
104
@@ -140,4 +138,4 @@ Auxiliary Space: The auxiliary space complexity is $O(N)$ because the sorting al
140
138
141
139
-**Geeks for Geeks Problem:**[Geeks for Geeks Problem](https://www.geeksforgeeks.org/problems/at-least-two-greater-elements4625/1?page=1&difficulty=School&sortBy=difficulty)
142
140
-**Solution Link:**[At Least Two Greater Elements on Geeks for Geeks](https://www.geeksforgeeks.org/problems/at-least-two-greater-elements4625/1?page=1&difficulty=School&sortBy=difficulty)
0 commit comments