Skip to content

Tuan dev#9

Open
hmintusn wants to merge 60 commits intonguyenson2012:mainfrom
hmintusn:tuan_dev
Open

Tuan dev#9
hmintusn wants to merge 60 commits intonguyenson2012:mainfrom
hmintusn:tuan_dev

Conversation

@hmintusn
Copy link

No description provided.

class Solution {
public:
vector<int> twoSum(vector<int>& nums, int target) {
unordered_map<int, int> mp;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the way you think to solve the problem, it will help you improve skill to explain your idea. It helps when you take the interview.
Please add more meaningful variable name

class Solution {
public:
int numIslands(vector<vector<char>>& grid) {
queue<pair<int, int>> q;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add more meaningful variable name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants