上一页 1 2 3 4 5 6 7 8 9 10 ··· 36 下一页
摘要: 内推阿里电话面试中面试官给我出的一个题:我想的头一个解决方案,就是放到stl 的map里面对出现的频率作为pair的第二个字段进行排序,之后按照排序结果返回:下面口说无凭,show your code,当然在讨论帖子中遭遇了工程界大牛的sql代码在技术上的碾压。什么是做工程的,什么是工程师的思维,不... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(622) 评论(0) 推荐(0)
摘要: Balanced Binary Tree Total Accepted: 63288 Total Submissions: 198315 My Submissions Given a binary tree, determine if it is heig... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(169) 评论(0) 推荐(0)
摘要: Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(131) 评论(0) 推荐(0)
摘要: Symmetric Tree Total Accepted: 61440 Total Submissions: 194643 My Submissions Given a binary tree, check whether it is a mirror... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(161) 评论(0) 推荐(0)
摘要: ios swift 实现饼状图进度条//// ProgressControl.swift// L02MyProgressControl//// Created by plter on 7/29/14.// Copyright (c) 2014 jikexueyuan. All rights ... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(1307) 评论(0) 推荐(0)
摘要: Add Binary Total Accepted: 46815 Total Submissions: 189215 My Submissions Given two binary strings, return their sum (also a bin... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(177) 评论(0) 推荐(0)
摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and']', determine if the input string is valid.The brackets must close in the co... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(133) 评论(0) 推荐(0)
摘要: Write a function to find the longest common prefix string amongst an array of strings.我的解决方案:class Solution {public: string longestCommonPrefix(vec... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(224) 评论(0) 推荐(0)
摘要: 编辑部的主页:好像没啥用http://shop.oreilly.com/product/0636920022923.do每章的代码,github上面的:中文版https://github.com/willard-yuan/pcv-book-codegithub上面,英文版:https://githu... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(3672) 评论(0) 推荐(0)
摘要: Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints: Could negative integers be palin... 阅读全文
posted @ 2017-11-17 22:27 wangyaning 阅读(148) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 36 下一页