Time of Update: 2014-06-29
標籤:java leetcode string 題目Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For
Time of Update: 2014-06-29
標籤:營運 溝通 在很多交流場合,我們或多或少能聽到有小夥伴抱怨營運崗位工作沒有得到老闆或者公司同事的認可,這怪誰呢?私以為只能怪營運崗位的各位同行,為什麼這麼講呢?我這個攢了很久的大招,今天終於可以釋放出來了。
Time of Update: 2014-06-29
標籤:des style http java color get 題目連結:http://acm.hdu.edu.cn/showproblem.php?pid=1864題目:最大報銷額Time Limit: 1000/1000 MS (Java/Others)
Time of Update: 2014-06-29
標籤:style java color 使用 strong 檔案
Time of Update: 2014-06-29
標籤:leetcode 演算法 面試 【題目】A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy of the list.【題意】
Time of Update: 2014-06-29
標籤:webkit 記憶體管理 malloc heap 對於大多數開發人員而言,系統的記憶體配置就是一個黑盒子,就是幾個API的調用。有你就給我,沒有我就想別的辦法。來UC前,我就是這樣認為的。實際深入進去時,才發現這個領域裡也是百家爭鳴,非常熱鬧。有作業系統層面的記憶體 Clerk(Memory
Time of Update: 2014-06-29
標籤:des style blog color 使用 2014 DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b
Time of Update: 2014-06-29
標籤:des style http java color get JAVA大數....xx.stripTrailingZeros().toPlainString() 去末尾的0並不用科學計數法顯示ExponentiationTime Limit: 1000/500 MS
Time of Update: 2014-06-29
標籤:blog 2014 os name c for 這場的c實在不想做,sad。D:標記一下每一個點8個方向不經過黑點最多能到達多少個黑點。由題意可知,三角形都是等腰三角形,那麼我們就枚舉三角形的頂點。對於每一個定點,有8個方向可以放三角形。然後枚舉8個方向,然後枚舉腰的長度。然後判斷是否可行
Time of Update: 2014-06-29
標籤:tcp 網路編程 先運行一個java寫的區域網路聊天,如下後使用c#圖形修改如下:c#代碼:servlet服務端using System;using System.Collections.Generic;using System.Drawing;using System.Windows.Forms;using System.Net;using System.Net.Sockets;using
Time of Update: 2014-06-29
標籤:acm c++ poj 資料結構 題目連結:http://poj.org/problem?id=3468題目大意:給出一組數組v[i],有兩種操作,一種給出兩個數a,b,要求輸出v[a]到v[b]之間的和,另一種給出三個數a,b,c,讓v[a]到v[b]之間的數全都加上c。完全是樹狀數組能夠實現的功能,但是如果就這樣單純的套用模板,做第二種操作是更新每個&
Time of Update: 2014-06-29
標籤:blog http get 2014 os name 題目連結:點擊開啟連結stl+容斥#include <cstdio>#include <cstring>#include <algorithm>#include <vector>#
Time of Update: 2014-06-29
標籤:blog java c for leetcode io Given a string S, find the longest palindromic substring in S. You may assume that the maximum length
Time of Update: 2014-06-29
標籤:資料 一個 new 和 儲存 數組
Time of Update: 2014-06-29
標籤:style blog http color get 使用 建造者模式(Builder),將一個複雜物件的構建與它的表示分離,使得同樣的構建過程可以建立不同的表示。 建造者模式結構圖: Builder是為建立一個Product對象的各個組件指定的抽象介面;ConcreteBuilder是
Time of Update: 2014-06-29
標籤:des http get width 2014 os 2014.6.28最近幾天在玩GBA 火焰紋章 烈火之劍,真是一款很不錯的經典的策略遊戲,玩著玩著就像他是怎麼做的,發現確實很有水平,所以決定把玩過遊戲的的好的想法和AI之類的都寫在這上面先來一發火焰之紋章感覺AI的
Time of Update: 2014-06-29
標籤:style blog 2014 os art name An iterative way of writing quick sort:#include <iostream>#include <stack>#include <utility>using
Time of Update: 2014-06-29
標籤:style blog color get 資料 os 資料結構一直是我最薄弱的地方,所以要好好學習一下。 首先是棧。 棧有,判斷棧是否為空白,判斷棧是否為滿,出棧,入棧,取棧頂元素,這5個功能,用類實現,就是5個方法,5個成員函數。 為方便起見,棧能容納元素的最大值設定為固定值。
Time of Update: 2014-06-29
標籤:style blog color os cti c def new # @foo = Foo.new @foos = Foo.find(:all,:conditions=>["project_id = #{@project.id}"]) @foolist = @
Time of Update: 2014-06-29
標籤:get 使用 檔案 類 問題 代碼 Vs2013單元測試功能對靜態方法可以使用?前幾天使用Vs2013的單元測試功能對某項目的DAL部分靜態方法進行測試,總是報出Null of