We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71a616c commit 84998cbCopy full SHA for 84998cb
src/main/java/g2001_2100/s2043_simple_bank_system/Bank.java
@@ -1,7 +1,7 @@
1
package g2001_2100.s2043_simple_bank_system;
2
3
// #Medium #Array #Hash_Table #Design #Simulation
4
-// #2022_05_26_Time_159_ms_(48.01%)_Space_133.1_MB_(20.58%)
+// #2022_05_27_Time_128_ms_(72.30%)_Space_81_MB_(76.62%)
5
6
public class Bank {
7
private final long[] accounts;
@@ -39,3 +39,11 @@ public boolean withdraw(int account, long money) {
39
return false;
40
}
41
42
+
43
+/*
44
+ * Your Bank object will be instantiated and called as such:
45
+ * Bank obj = new Bank(balance);
46
+ * boolean param_1 = obj.transfer(account1,account2,money);
47
+ * boolean param_2 = obj.deposit(account,money);
48
+ * boolean param_3 = obj.withdraw(account,money);
49
+ */
0 commit comments