[fix][golang] implement-stack-using-queues #1601
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1600
我修改的是如下题目的 golang 解法:
https://leetcode.com/problems/implement-stack-using-queues/
通过截图如下:
![Screenshot 2024-05-21 at 4 38 41 PM](https://private-user-images.githubusercontent.com/6395323/332349292-8c11b700-ae04-4c91-ad32-4b2075576716.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NzYxNzQsIm5iZiI6MTcxOTk3NTg3NCwicGF0aCI6Ii82Mzk1MzIzLzMzMjM0OTI5Mi04YzExYjcwMC1hZTA0LTRjOTEtYWQzMi00YjIwNzU1NzY3MTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMDMwNDM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmMzYWI3MzMwNjE1OTE4MDIzMWUxZGNiYWE5ZmU0NzlhY2EwYzE0MmY0MGU5MWRkNzgxNDVlZTIxYWY1YjRmYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.JuHZ_RDlACRnu5T73jByOJ_w437_PUY0bBNpAdVcGQI)