Edit distance(dynamic programing) 题目描述 Given two words word1 and word2, find the minimum number of steps required to con…
分类:Programming language
[leetcode]题目解析(190609)
Construct binary tree from preorder and inorder traversal 题目描述 Given preorder and inorder traversal of a tree, construct…
vivo2020校招提前批开发笔试试题
vivo提前批笔试题整理 寻找数组中不存在的元素 题目描述 A、B两个数组,要求输出A中存在而B中不存在的元素。 例如 代码实现 #include <iostream> #include <vector> #incl…
vivo2019校招笔试题(C++部分题目)
以下描述正确的是 A. 虚函数是可以内联的,可以减少函数调用的开销,提高效率 B. 类里面可以同时存在函数名和参数都一样的虚函数和静态函数 C. 父类的析构函数是非虚的,但是子类的析构函数是虚的,delete子类对象指针会调用父类的析构函数…
vivo2018秋招软件开发笔试题
vivo2018秋招软件开发笔试题 选择题 线程共享部分包括:进程代码段、进程共有资源(全局变量)、进程打开的文件描述符、消息队列、信号的处理器、进程当前目录、进程用户ID、进程组ID;线程独占资源:线程ID、寄存器组的值、栈、错误返回码、…
[leetcode]题目解析(190524)
valid sudoku 题目描述 Determine if a Sudoku is valid, according to: Sudoku Puzzles – The Rules.The Sudoku board could …
[leetcode]题目解析(190513)
Search for a range 题目描述 Given a sorted array of integers, find the starting and ending position of a given target value.…