Skip to content

Commit 5d7a0b2

Browse files
committed
Runtime: 20 ms (Top 63.84%) | Memory: 50.7 MB (Top 74.53%)
1 parent 861f6bc commit 5d7a0b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/I/Invalid Transactions/Invalid Transactions.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 20 ms (Top 63.84%) | Memory: 50.7 MB (Top 74.53%)
12
class Solution {
23
public List<String> invalidTransactions(String[] transactions) {
34
Map<String, List<Transaction>> nameToTransaction = new HashMap<>();
@@ -44,4 +45,4 @@ boolean isInvalidAmount() {
4445
boolean isInvalidCity(Transaction t) {
4546
return !city.equals(t.city) && Math.abs(t.time - time) <= 60;
4647
}
47-
}
48+
}

0 commit comments

Comments
 (0)