Skip to content

Conversation

@Tungcutenhoem
Copy link

No description provided.

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

Choose a reason for hiding this comment

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

Use English variable name. Sample "result"
Try to find better solution instead of brute force solution

// Memory complexity: O (n)
class Solution {
public:
vector<vector<int>> merge(vector<vector<int>>& intervals) {
Copy link
Owner

Choose a reason for hiding this comment

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

Good!

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