登录
|
注册
公司
标签
文章
搜索
搜索结果
所有
题目
标签
搜 索
搜索约找到 10 条结果
已知一个有序表为(12,18,24,35,47,50,62,83,90,115,134),当折半查找值为90的元素时,经过()次比较后查找成功。 5 2 3 4
阅读题目
C语言工程师
查找
给定一个原串和目标串,能对源串进行如下操作: 1.在给定位置插入一个字符 2.替换任意字符 3.删除任意字符 要求完成一下函数,返回最少的操作数,使得源串进行这些操作后等...
阅读题目
Java
google
动态规划
C语言工程师
查找
下面是折半查找的实现,data是按升序排列的数据,x是查找下标,y是查找的上标, v是查找的数值,返回v在data的索引,若没找到返回-1。代码不正确是____。 public int ...
阅读题目
阿里巴巴
2016
研发工程师
C语言工程师
查找
扑克决斗 A, B 两人按下述规则打扑克(A 先出): 1、每人摸13 张牌,只能按1 张或者1 对出牌 2、如果一方出牌,另一方可以选择跟牌,跟牌牌型必须对方一样(一张跟一张,一对跟一对), 并且...
阅读题目
Java
小米
C语言工程师
查找
请完成二分查找的非递归算法: Int binsearch(ElemType A[], int n, KeyType K) { int low = 0; int high = n - ...
阅读题目
淘宝
C语言工程师
复杂度
查找
以下函数查找一个整数数组中第二大的数,请填空。 #include const int MINNUMBER = -32767; int find_set_max(int data[], int...
阅读题目
迅雷
C语言工程师
数组
查找
请在小于99999的正整数中找符合下列条件的数,它既是完全平方数,又有两位数字相同,如:144,676。用c语言编写(不能用数字转换成字符串)。
阅读题目
C语言工程师
查找
华为
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find ...
阅读题目
C语言工程师
哈希
查找
Given a 2D board and a word, find if the word exists in the grid. The word can be construct...
阅读题目
C语言工程师
查找
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. F...
阅读题目
C语言工程师
查找
没有满意的结果?
在百度中搜索
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录