码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果
Leetcode | Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2.After removi...
分类:其他好文   时间:2014-05-19 09:16:49    阅读次数:247
Android拍照、相册选取、裁剪图片
来自:http://blog.csdn.net/ryantang03/article/details/8656278package com.example.listactivity;import java.io.ByteArrayOutputStream;import java.io.File;im...
分类:移动开发   时间:2014-05-18 20:32:25    阅读次数:2701
Android service的开启和绑定,以及调用service的方法
界面: Activitypackage com.example.serviceTest;import android.app.Activity;import android.content.ComponentName;import android.content...
分类:移动开发   时间:2014-05-18 19:12:31    阅读次数:377
LeetCode: Substring with Concatenation of All Words [029]
【题目】 You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without any intervening characters. For example, given: S:...
分类:其他好文   时间:2014-05-18 08:31:48    阅读次数:228
leetcode -day17 Path Sum I II & Flatten Binary Tree to Linked List & Minimum Depth of Binary Tree
1、 ?? Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below...
分类:其他好文   时间:2014-05-18 03:25:06    阅读次数:301
【LeetCode】Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-18 02:11:19    阅读次数:302
【LeetCode】Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-05-18 01:52:45    阅读次数:317
Leetcode | Remove Duplicates from Sorted List I && II
Remove Duplicates from Sorted List IGiven a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->...
分类:其他好文   时间:2014-05-18 01:41:31    阅读次数:361
(原创)Stanford Machine Learning (by Andrew NG) --- (week 10) Large Scale Machine Learning & Application Example
本栏目来源于Andrew NG老师讲解的Machine Learning课程,主要介绍大规模机器学习以及其应用。包括随机梯度下降法、维批量梯度下降法、梯度下降法的收敛、在线学习、map reduce以及应用实例:photo OCR。课程地址为:https://www.coursera.org/cou...
分类:移动开发   时间:2014-05-18 00:36:57    阅读次数:452
Android 使用MediaRecorder录音
package com.example.HyyRecord;import android.app.Activity;import android.content.Intent;import android.media.MediaRecorder;import android.net.Uri;impo...
分类:移动开发   时间:2014-05-17 19:09:09    阅读次数:349
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!