羁士
羁士
全部文章
Coding
C++(20)
Linux(2)
Openstack(1)
PHP(1)
Python(3)
Web开发(1)
公众号开发(3)
基础知识(3)
工具技巧(1)
数据结构和算法(8)
未归档(1)
程序猿修炼(22)
面试真题(2)
归档
标签
去牛客网
登录
/
注册
程序员面试精选
整理记录后端程序员的基础知识与面试经验。公众号【codeoffer】
全部文章
/ Coding
(共7篇)
每日一练之Remove Element【LeetCode No.27】—删除数组相应值
Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, yo...
2020-01-13
0
576
每日一练之Palindrome Number【LeetCode No.9】—判断是否为回文数
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be pali...
2020-01-13
0
538
每日一练之Reverse Integer[LeetCode No.7]-翻转整数
Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 click to show spoilers. Note: The input is assumed t...
2020-01-13
0
516
每日一练之Roman to integer & integer to Roman【LeetCode No.12,13】
Integer to Roman Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. Subscribe to see which ...
2020-01-13
0
532
每日一练之poor pigs【leetcode No.458】——猪测毒问题
There are 1000 buckets, one and only one of them contains poison, the rest are filled with water. They all look the same. If a pig drinks that poison ...
2020-01-13
0
609
每日一练之Longest Common Prefix【LeetCode No.14】——求字符串的最长公共前缀
题目:Write a function to find the longest common prefix string amongst an array of strings. 分析:只需用第一个字符串与后面的进行比较,最大长度不能大于第一个字符串的长度 class Solution...
2020-01-13
0
560
Redis和memcache有什么区别与不同?如何选择?
来自专栏
问:Redis和memcache都是常用的缓存工具,但他们有哪些不同你知道吗?平常应用中怎么选择呢? 先说结论,我认为他们有以下几方面的不同: 1、Redis和Memcache都是将数据存放在内存中,memcache还可用于缓存其他东西,例如图片、视频等等,但最大只能缓存1M。...
2020-01-13
0
653