码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
MVC、控件、一般处理程序中的session and cookie
Mvc中:session:if (!string .IsNullOrEmpty(find)) //设置Session["oip"] = "无锡";ViewBag.oip =Session["oip"];if (Session["oip"] == null) //获取Session...
分类:Web程序   时间:2015-07-28 17:22:19    阅读次数:112
LeetCode#5 Longest Palindromic Substring
Problem Definition:Given a string S, find the longest palindromic substring in S.You may assume that the maximum length of S is 1000, and there exists...
分类:其他好文   时间:2015-07-28 17:22:12    阅读次数:111
[LeetCode][Java] Word Ladder
题目: Given two words (beginWord and endWord), and a dictionary, find the length of shortest transformation sequence from beginWord to endWord, such that: Only one letter can be changed at a t...
分类:编程语言   时间:2015-07-28 16:00:34    阅读次数:124
FTP- Download, upload, Delete & find files
Public Function Func_FTP(Operation,ServerName,UserName,Password,RemoteLocation,LocalLocation)'Set up the environmentConst INTERNET_OPEN_TYPE_DIRECT = ...
分类:其他好文   时间:2015-07-28 15:55:41    阅读次数:182
记录几点在开发中遇到的问题 2015-7-28 (会更新)
1。在service层 数据是不能传model类型过来的,只能传数组array,因为soap是无法接受model的。 2.new一个model的话,是新增的的,如果要获取数据用find方法。 new 的话不能有id 因为new的话是做插入操作的 3.find和findall的使用方法$resocial = OrderSocialDetailModel::model()->find('user_...
分类:其他好文   时间:2015-07-28 14:37:49    阅读次数:102
leetCode 97.Interleaving String (交错字符串) 解题思路和方法
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", ret...
分类:其他好文   时间:2015-07-28 13:09:37    阅读次数:179
Contains Duplicate III
Given an array of integers, find out whether there are two distinct indicesiandjin the array such that the difference betweennums[i]andnums[j]is at mo...
分类:其他好文   时间:2015-07-28 12:28:38    阅读次数:101
LeetCode 4_Median of Two Sorted Arrays
LeetCode 4_Median of Two Sorted Arrays 题目描述: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sho...
分类:其他好文   时间:2015-07-28 10:54:56    阅读次数:117
Android打造不一样的EmptyView
大家都对ListView非常熟悉,目测也会经常使用ListView的一个方法setEmptyView,来设置当数据加载中或者数据加载失败的一个提醒的效果,这个方法虽然使用起来简单,但是如果你提供一个复杂的布局,例如: 在数据加载失败后,添加一个Button让用户可以选择重新加载数据。 那么,你可能会这么做,find这个button,然后给button设置点击事件,好吧。。。一个两个的还可以忍受,...
分类:移动开发   时间:2015-07-28 09:06:30    阅读次数:175
Submatrix Sum
Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right-down numbe...
分类:其他好文   时间:2015-07-28 06:40:25    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!