码迷,mamicode.com
首页 >  
搜索关键字:interview    ( 649个结果
python面试常见问题
https://codingpy.com/article/essential-python-interview-questions/ 常见的15个问题 https://www.ctolib.com/topics-122771.html 注意单例模式的实现 ...
分类:编程语言   时间:2020-03-24 00:57:17    阅读次数:68
LeetCode-Interview40-最小的k个数
题目描述 输入整数数组 arr ,找出其中最小的 k 个数。例如,输入4、5、1、6、2、7、3、8这8个数字,则最小的4个数字是1、2、3、4。 我的题解 暴力排序 把数组升序排好,取出最前的k个即可,很暴力,比较低效, 仅适合与k接近与数组长度。 //效率还是不行,比上面全排序还差,这个排序算法 ...
分类:其他好文   时间:2020-03-20 23:53:37    阅读次数:106
安全面试知识汇总
Github https://github.com/Leezj9671/Pentest_Interview https://github.com/Leezj9671/offensiveinterview(红队) https://github.com/tiaotiaolong/sec_intervie ...
分类:其他好文   时间:2020-03-20 15:36:17    阅读次数:99
interview_prepare_rand
1. rand7生成rand10 1 # The rand7() API is already defined for you. 2 # def rand7(): 3 # @return a random integer in the range 1 to 7 4 5 class Solution( ...
分类:其他好文   时间:2020-03-16 09:38:13    阅读次数:56
interview_prepare_binarytree
1.pathSum 1 class TreeNode: 2 def __init__(self,x): 3 self.val=x 4 self.left=None 5 self.right=None 6 7 8 class Solution: 9 def dfs(self,root,target,p ...
分类:其他好文   时间:2020-03-15 22:26:11    阅读次数:54
【剑指offer】不用加减乘除做加法
题目链接:不用加减乘除做加法 题意:写一个函数,求两个整数之和,要求在函数体内不得使用+、-、*、/四则运算符号。 题解:计组里面有一个加法器。。用异或和与即可完成加法操作。异或求加法,与计算进位。 第一步:异或相加;第二步:计算进位值,位与;第三步,重复以上两步。 举例: 7 + 4 = 11 1 ...
分类:其他好文   时间:2020-03-05 01:14:16    阅读次数:73
【剑指offer】链表中倒数第k个结点
题目链接:链表中倒数第k个结点 题意:输入一个链表,输出该链表中倒数第k个结点。 题解:两个指针,让其中一个先走k-1步,那后走的指针,走到倒数第k个时,前面一个就走完了! 代码: 1 /* 2 struct ListNode { 3 int val; 4 struct ListNode *next ...
分类:其他好文   时间:2020-03-03 01:22:24    阅读次数:80
为什么用Object.prototype.toString.call(obj)检测对象类型?
转自https://www.cnblogs.com/youhong/p/6209054.html 最近做了做一些js面试25 Essential JavaScript Interview Questions*,其中第一道是:使用typeof bar "object"检测”bar”是否为对象有什么缺点 ...
分类:其他好文   时间:2020-02-21 20:10:05    阅读次数:55
LeetCode 1029. Two City Scheduling
原题链接在这里:https://leetcode.com/problems/two-city-scheduling/ 题目: There are 2N people a company is planning to interview. The cost of flying the i-th per ...
分类:其他好文   时间:2020-02-17 13:58:18    阅读次数:70
Rejecting Good Engineers?
Has any interviewer in the tech industry realized that they lost a good software engineer just because he/she failed the algorithms interview? By Dmit ...
分类:其他好文   时间:2020-02-13 20:52:06    阅读次数:85
649条   上一页 1 ... 4 5 6 7 8 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!