Skip to content

Commit ddb3cda

Browse files
authored
Update 0003-at-least-two-greater-elements.md
1 parent 03f41d7 commit ddb3cda

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

dsa-solutions/gfg-solutions/0003-at-least-two-greater-elements.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ The problem is to find all elements in an array except the two greatest elements
8282
}
8383
};
8484
```
85-
8685
</TabItem>
87-
<TabItem value="Python" label="Python" default>
88-
<SolutionAuthor name="@iamanolive"/>
86+
<TabItem value="Java" label="java">
87+
<SolutionAuthor name="@ImmidiSivani"/>
8988
```Java
9089
class Solution {
9190
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
10099
}
101100
}
102101
```
103-
104102
</TabItem>
105103
</Tabs>
106104

@@ -140,4 +138,4 @@ Auxiliary Space: The auxiliary space complexity is $O(N)$ because the sorting al
140138

141139
- **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)
142140
- **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)
143-
- **Authors LeetCode Profile:** [Anoushka](https://www.geeksforgeeks.org/user/iamanolive/)
141+
- **Authors LeetCode Profile:** [Anoushka](https://www.geeksforgeeks.org/user/iamanolive/)

0 commit comments

Comments
 (0)