leetcode

package
v0.0.0-...-b544bf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(nums1 []int, m int, nums2 []int, n int)

Merge merges nums1 and nums2 as one sorted array. The length of nums1 is m+n by constraint.

func TwoSum

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

TwoSum returns indices of the nums array when the sum of the two numbers is equal to target.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL