码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
Letter Combinations of a Phone Number
题目:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telep...
分类:其他好文   时间:2015-05-04 08:37:28    阅读次数:183
Java [leetcode 14] Longest Common Prefix
小二好久没有更新博客了,真是罪过,最近在看linux的东西导致进度耽搁了,所以今晚睡觉前怒刷一题!问题描述:Write a function to find the longest common prefix string amongst an array of strings.解题思路:该问题就是...
分类:编程语言   时间:2015-05-04 01:12:56    阅读次数:534
WPF 继承自己设计的窗体控件
baseWin不能有XAML文件,只能是一个类namespace WPFStudy{ public class MyBaseWin : Window { public MyBaseWin(int w, int h, String title) { this.WindowStartupLocation...
分类:Windows程序   时间:2015-05-04 01:03:16    阅读次数:330
【Valid Palindrome】cpp
题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: P...
分类:其他好文   时间:2015-05-03 23:27:29    阅读次数:113
方法的递归
一、方法递归 方法的递归是指在一个方法的内部调用自身的过程,递归必须要有结束条件,不然就会陷入无限递归的状态,永远无法结束调用。 实例代码: class demo4{ public static void main(String[] args) { int sum=getSum(100)...
分类:其他好文   时间:2015-05-03 23:23:35    阅读次数:150
C++找字符串中第一个只出现一次的的字符下标(牛客剑指offer)
#include #include using namespace std; int FirstNotRepeatingChar(string str) { int n = str.length(); if(n10000)return -1; int i = 0; for(;i<n;i++) { ...
分类:编程语言   时间:2015-05-03 22:08:45    阅读次数:137
asp.net MVC 使用Bootstrap 分页
Boostrap分页控件比较美观,控制器代码:使用仓储模式实现。如果是直接使用DbContext上下文使用更简单。 public ActionResult Index(int? page,string categoryName,string SearchTitle) { ...
分类:Web程序   时间:2015-05-03 21:49:59    阅读次数:172
Java语言实现MD5加密
package com.lc.igou.util;import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException;public class MD5Util { public static String ge...
分类:编程语言   时间:2015-05-03 20:38:17    阅读次数:107
LeetCode 17 Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2015-05-03 20:30:08    阅读次数:112
student
import java.util.Scanner; public class Syscontrol{ public static void main(String[] args) { UI.menu(); } } class UI { pu...
分类:其他好文   时间:2015-05-03 20:21:14    阅读次数:74
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!