carloscn / carloscn/structstudy

在数组中查找元素

Open
#1 4 comments 0 reactions 1 assignee Claimed by @carloscn View on GitHub
数组 查找
Dominant language
C
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### 题目描述

> 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。

### 例子

输入一个数组:

> num[3][4]=[
> 1,4,6,28,
> 2,7,32,30,
> 10,11,67,79
> ]

需要查找一个数字32,则返回true

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.