Skip to content

1: Two Sum: Go: signature is too broad #255

Open
@vitaly-zdanevich

Description

@vitaly-zdanevich

Actual:

func twoSum(nums []int, target int) []int

Expected:

func twoSum(nums []int, target int) [2]int

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