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

Added tasks 932, 933, 934, 935 #412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
javadev merged 2 commits into javadev:main from ThanhNIT:tasks-932-933-934-935
Feb 16, 2022
Merged

Conversation

@ThanhNIT
Copy link
Contributor

@ThanhNIT ThanhNIT commented Feb 16, 2022

No description provided.

void beautifulArray2() {
int[] result = new Solution().beautifulArray(5);
int[] expected = new int[] {3, 1, 2, 5, 4};
assertThat(CommonUtils.compareArray(result, expected), equalTo(true));
Copy link
Owner

@javadev javadev Feb 16, 2022
edited
Loading

Choose a reason for hiding this comment

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

Do we need it? assertThat/equalTo can compare arrays.

Copy link
Contributor Author

@ThanhNIT ThanhNIT Feb 16, 2022
edited
Loading

Choose a reason for hiding this comment

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

items in these array has not same order

Copy link
Owner

Choose a reason for hiding this comment

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

Ok, let's use this method.

Copy link

Copy link
Owner

javadev commented Feb 16, 2022

@javadev javadev merged commit 881a1e1 into javadev:main Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@javadev javadev javadev left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /