伊萨卡钢琴家
码龄10年
关注
提问 私信
  • 博客:57,657
    57,657
    总访问量
  • 123
    原创
  • 2,336,907
    排名
  • 0
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:美国
  • 加入CSDN时间: 2015-03-28
博客简介:

Hanwenwangad的专栏

查看详细资料
  • 原力等级
    领奖
    当前等级
    0
    当前总分
    0
    当月
    0
个人成就
  • 获得0次点赞
  • 内容获得0次评论
  • 获得2次收藏
创作历程
  • 130篇
    2016年
  • 1篇
    2015年
成就勋章
TA的专栏
  • Leetcode
    104篇
  • String
    14篇
  • DFS
    10篇
  • BFS
    3篇
  • backtracking
    3篇
  • graph
    1篇
  • bitManipulation
    9篇
  • trie
    1篇
  • heap
    3篇
  • design
    2篇
  • array
    29篇
  • Dynamic Programming
    11篇
  • HashTable
    4篇
  • binary search
    4篇
  • HashSet
    1篇
  • stack
    7篇
  • tree
    11篇
  • BF
  • greedy
    1篇
  • 总结
    3篇
  • math
    1篇
  • Sort
    2篇
  • cc150
    7篇
  • operating system
    1篇
  • OOD
    1篇
  • cornell
    1篇
  • cs4820
    1篇
  • OOP
    1篇
  • linkedlist
    1篇
  • 面经
    3篇
  • amaz
  • amazon
    4篇
  • 数据结构
    1篇
  • Algor
  • Algorithm
    1篇
  • GeeksforGe
  • GeeksforGeeks
    5篇
  • time complexity
    1篇
  • space complxity
    1篇
  • a
  • google
    1篇
创作活动更多

仓颉编程语言体验有奖征文

仓颉编程语言官网已上线,提供版本下载、在线运行、文档体验等功能。为鼓励更多开发者探索仓颉编程语言,现诚邀各位开发者通过官网在线体验/下载使用,参与仓颉体验有奖征文活动。

368人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

Google 面试题 phone interview

摘自一亩三分地http://www.1point3acres.com/bbs/forum.php?mod=viewthread&tid=200350&extra=page%3D1%26filter%3Dsortid%26sortid%3D311%26searchoption%5B3086%5D%5Bvalue%5D%3D6%26searchoption%5B3086%5D%
原创
发布博客 2016.08.28 ·
1133 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 146. LRU Cache

Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the value (will always be positive) of the key if
原创
发布博客 2016.02.16 ·
513 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

DFS + BackTracking

这是Leetcode经典系列题,就是考对于DFS的理解,确实有技术含量想上来Combination上来热一下身,如何回溯。就是加1,减1然后是Combination sum1combination sum2 combination sum3 然后是Permutation permutation2 http://www.shuati
原创
发布博客 2016.02.14 ·
450 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

KMP 算法

This is a String matching algorithm, to match the target string to a txt stringThis is wikidephttp://www.geeksforgeeks.org/searching-for-patterns-set-2-kmp-algorithm/
原创
发布博客 2016.02.14 ·
430 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Amazon coding 题解答

没有过了test,之后回来跟新1 LRU/**Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get the value (will
原创
发布博客 2016.02.14 ·
1005 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Amazon on compus 面经

coding题circular sorted linked list的插入,backtracking走迷宫,还有内存管理的LUR算法~这三种题型。编程题用C++的话,不支持自己写子函数。递归只能自己写Stack.这里有面经,加油吧,把所有的Case都过了就好了。http://www.1point3acres.com/bbs/thread-16
原创
发布博客 2016.02.14 ·
4956 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GeeksforGeeks 统计一个数组中的相反的数的对数

原帖在这里使用merge sort的方法naive 的方法是O(n2)可以利用merge sort提升到O(nlogn)http://www.geeksforgeeks.org/counting-inversions/This is to counting the inversion of the pairs in a array of integer.就是
原创
发布博客 2016.02.08 ·
457 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GeeksForGeeks Power(x,n)

This is a example to use the divide and conquerWrite a program to calculate pow(x,n)这里用一个int tem 记录Power(x, n/2),然后将两者相乘得到的结果就可以,所以如果计算Power(x,n)jiu
原创
发布博客 2016.02.08 ·
396 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

GeeksforGeeks 上关于时间空间复杂度的大O和大zeta分析

传送门:http://www.geeksforgeeks.org/analysis-of-algorithms-set-3asymptotic-notations/我觉得大zita是下界大O是上界
原创
发布博客 2016.02.07 ·
427 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

geeksforgeeks

这个是对space complexity 的解释http://www.geeksforgeeks.org/g-fact-86/我在面试的时候得问清楚这个time complexity算不算input的size如果算是怎么做,如果不算是怎么做。
原创
发布博客 2016.02.07 ·
1336 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Geeksforgeeks time complexity

一个time complexity 的问题http://www.geeksforgeeks.org/a-time-complexity-question/
原创
发布博客 2016.02.07 ·
399 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 322. Coin Change

You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money
原创
发布博客 2016.02.07 ·
382 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Algorithm, Counting sort

维基百科的链接https://en.wikipedia.org/wiki/Counting_sort这里是这个数组有一个大小的范围,是有限的范围,所以可以是O(n)的效率
原创
发布博客 2016.02.07 ·
330 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

基本数据结构-heap实现

//This is to implment the heap structure.public class heap{ int[] array; //This is to record the position now we should add the element to int currPosition = 1; //the length of the heap int
原创
发布博客 2016.02.07 ·
376 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Amazon面经2016/2

楼主拖到了二月份才开始完全的热好身准备找实习是在是略SB,要是早点现在估计Offer 都有了吧Amazon 面经http://www.1point3acres.com/bbs/thread-167097-1-1.html之前1月做的,给大家参考一下:1. 给一个数n,要求打印出长宽为n的直角三角形,比如    3              A
原创
发布博客 2016.02.07 ·
1620 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

CC150 LinkedList

CC150中的LinkedList讲的很好,之后上代码,最近太忙了2.1 Write code to remove duplicates from an unsorted linked list. 这道题很简单就是利用HashTable存数然后遇到之前遇到过的节点直接删除如果No buffer used,就是只能使用O(1) space comp
原创
发布博客 2016.02.04 ·
456 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

CC150 chapter 8 OOD object-oriented design

OOD is quite difficult, especially for the green programmer like me.When I go to tutorial here http://www.javaworld.com/article/2073352/core-java/simply-singleton.htmlI find there are several
原创
发布博客 2016.01.31 ·
1050 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 91. Decode Ways

A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message containing digits, determine the total nu
原创
发布博客 2016.01.31 ·
502 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode 322. Coin Change

322. Coin Change没有AC,思路就是DP322. Coin Changepublic class Solution { public int coinChange(int[] coins, int amount) { int[] dp = new int[amount + 1]; for(int i = 1; i <= amount
原创
发布博客 2016.01.31 ·
475 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Leetcode bit manipulation 总结

136. Single Number利用Xor 求结果137. Single Number II统计数字出现的数目,如果是1被整除,这一位是0,如果没有被1整除则这一位是0;260. Single Number III利用其中的一位数字区别两个数,然后将两个数构成两个集合,这两个集合分别求XOR,得到的结果就是这两位数。190. Reverse Bits
原创
发布博客 2016.01.31 ·
573 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多