Skip to content

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