Skip to content

Issue01: Tìm 2 số trong mảng cộng lại bằng n #4

@devdiary2203

Description

@devdiary2203

Cho mảng arr, kích thước size, giá trị value. Tìm 2 số trong mảng sao cho có tổng bằng value.

Input:

arr = {1,21,3,14,5,60,7,6};
value = 81;

Output:

arr = {21,60};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions