Skip to content

Commit

Permalink
Update KthLargestInArray comment to reflect the function signature (a…
Browse files Browse the repository at this point in the history
…dnanaziz#96)

Update KthLargestInArray comment to reflect the function signature
  • Loading branch information
metopa authored Nov 11, 2019
2 parents e506638 + 665decd commit 3a2e03c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epi_judge_java/epi/KthLargestInArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import java.util.List;
public class KthLargestInArray {
// The numbering starts from one, i.e., if A = [3,1,-1,2] then
// findKthLargest(A, 1) returns 3, findKthLargest(A, 2) returns 2,
// findKthLargest(A, 3) returns 1, and findKthLargest(A, 4) returns -1.
// findKthLargest(1, A) returns 3, findKthLargest(2, A) returns 2,
// findKthLargest(3, A) returns 1, and findKthLargest(4, A) returns -1.
@EpiTest(testDataFile = "kth_largest_in_array.tsv")
public static int findKthLargest(int k, List<Integer> A) {
// TODO - you fill in here.
Expand Down

0 comments on commit 3a2e03c

Please sign in to comment.