Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb82c7f8

Browse files
add a comment for 232
1 parent5919f5e commitb82c7f8

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+3
-0
lines changed

‎src/main/java/com/fishercoder/solutions/_232.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
publicclass_232 {
66

77
publicstaticclassSolution1 {
8+
/**
9+
* This is amortized O(1) time for each operation, explanation: https://leetcode.com/problems/implement-queue-using-stacks/solution/
10+
*/
811
classMyQueue {
912

1013
Stack<Integer>input =newStack();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp