自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(43)
  • 收藏
  • 关注

原创 js导出txt

aid="save-btn"class="btn btn-default"download="log_qq.txt"role="button"href="">导出到文本a>a标签添加download属性,表示下载文件名称href属性表示内容:data:text/csv;charset=utf-8,\ufeffdata:下载文件的格式charset:设置编码格

2016-05-31 17:54:58 1128

原创 工作收获

2015年12月26日了解了JavaScript的强大,远远不止设置一个onClick那么简单,还有闭包、继承、插件等等;对系统框架的总结:1.首先设定了一个全局得Js方法,即:在任何一个页面先执行beforePageLoad和onPageLoad;前者对固定页面、数据进行获取和展示,(使用FSM.webUI同步获取),后者使用异步加载方式对页面得数据进行展示,(FSM.get/FSM

2015-12-26 14:07:39 506

原创 毕设周记——需求分析

1.用户系统:满足用户行为分析,推荐相应知识库;用户管理;通过第三方账号登陆;权限管理;角色管理;2.知识库系统:知识库管理;分享管理;

2015-12-01 14:41:35 3000 1

原创 毕设周记——确定选题

基于Java Web的知识库管理平台的设计与实现  1.不同设备:iOS,Android,浏览器;2.不同平台:Web,微信公众号;3.不同登录方式:注册,QQ,微信,微博;4.大数据分析:搜索引擎,用户行为分析;5.相关技术:缓存,文件I/O控制,上传下载,Maven,Git版本控制,大数据分析,搜索引擎;6.数据记录:用户信息,点击,7.相关框架:

2015-11-26 07:35:31 1245

原创 项目部署问题

1.jdk版本过高,导致tomcat无法部署,52.0应该是当前项目为jdk1.8的,51.0应该是当前项目为jdk1.7的,需要通过项目的属性更改java compiler为相应版本;2.mysql中文显示问号,看上一篇;3.项目中有和服务器相关的jar包需要删除,不然部署不上;

2015-11-05 12:00:34 373

原创 数据库中文问题

配置文件中有两个地方需要改编码(1)把配置文件中的两个地方都改了;(2)删除原来的数据库;(3)重启数据库服务;(4)重新建数据库;(5)然后再测试;(6)如果还不行,修改数据库连接的地方:

2015-11-03 20:54:21 272

原创 花旗银行-面试总结

1.jQuery中的$(".class")是如何实现的;http://chinaxxren.iteye.com/blog/8340132.Spring IOC核心;Spring中IOC的基本概念是:基于OO设计原则的TheHollywood Principle:Don’t call us, we’ll call you(别找我,我会来找你的)。程序中各个组件之间的关系,不由程序代码

2015-08-31 19:43:21 2113

原创 金指科技(大连)公司-面试总结

公司概况:主要经营手机应用(益划),广告商在上面发布广告,用户可以观看广告,当观看5-10秒后可领取分成,分成的钱可以兑换礼品或者满100元提现到支付宝,然后还有乱七八糟的订阅功能。笔试:1.抽象类与接口:声明方法的存在而不去实现它的类被叫做抽象类(abstract class),它用于要创建一个体现某些基本行为的类,并为该类声明方法,但不能在该类中实现该类的情况。不能创建abst

2015-08-25 13:06:00 4222

原创 聚龙股份有限公司-面试总结

地点:大连科技创新城,没有人。。。就像以前的软件园。。时间:面试安排为2点半,因为怕迟到下课就去,结果到那才1点半,面试到2点50。人物:两个人,据估计一个是项目经理,一个是技术总监(博士生)。然后是HR姐姐(27岁,实习后,在这个公司待了4,5年)给我介绍公司情况,以及填写我的相关信息。事件:面试开始,首先是自我介绍,同样的介绍个人信息,项目经验,在技术上的特长,最后是获得的奖项

2015-08-20 22:04:13 2663

原创 天柳投资股份有限公司大连分公司-面试总结

1.公司情况:小公司,坐落星海云观E座,主要经营投融资咨询、创业投资管理、信息技术服务;希望做出一个投资方与融资方的沟通平台,在这个平台上提供不同的项目供双方查看,项目内容包括,公司信息,项目信息,融资金额等。未来还打算融合第三方支付,手机App等。有一定风险,工资比大连平均工资高1-2k,由于是小公司升级的空间较大。2.面试过程:《1》首先介绍一下自己,主要是介绍有关你软件开发方

2015-08-19 16:33:02 1412

转载 javascript相关

1.在原来的窗体中直接跳转用 window.location.href="你所要跳转的页面"; 2、在新窗体中打开页面用: window.open('你所要跳转的页面');window.history.back(-1);返回上一页3、一些用法 按钮式: 链接式:返回上一页 ">返回上一页 直接跳转式: window.location.href='连接地址'; 开新窗口: 12

2015-07-29 18:00:20 279

原创 火箭作业系统知识总结

1.Spring设计模式-单例模式:单例模式也属于创建型模式,所谓单例,顾名思义,所指的就是单个实例,也就是说要保证一个类仅有一个实例。单例模式有以下的特点:①单例类只能有一个实例②单例类必须自己创建自己的唯一实例③单例类必须给所有其他对象提供这一实例饿汉Public class Singleton1{Private static final Singleton1 i

2015-07-17 15:04:14 450

原创 Happy Number

Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares

2015-06-19 10:29:17 317

原创 Rotate Array

Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].Note:Try to come up as many solutions as yo

2015-06-19 09:18:04 296

原创 Valid Palindrome

Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a

2015-06-18 16:50:41 287

原创 Rectangle Area

Find the total area covered by two rectilinear rectangles in a 2D plane.Each rectangle is defined by its bottom left corner and top right corner as shown in the figure.Assume that the tota

2015-06-17 11:28:36 342

原创 Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element

2015-06-16 22:24:55 311

原创 Count Primes

最主要的是对素数的倍数进行处理,时间复杂度大大降低;for (int j = i * i; j < n; j += i) { isPrime[j] = false; }Description:Count the number of prime numbers less than a non-negative number, n.

2015-06-16 09:07:40 421

原创 Isomorphic Strings

Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with anot

2015-06-16 08:56:22 305

原创 Contains Duplicate

Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element

2015-06-16 07:52:41 275

原创 Valid Sudoku

Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partially fille

2015-06-16 07:18:47 239

原创 Min Stack

Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get

2015-06-12 19:50:10 216

原创 艾森哲面试 Accenture

早上8点45到达软件园24号楼11层,本来时9点开始面试,一直等到9点30,面试官才匆匆来到。通知我们到会议室面试。面试开始才知道是群面+英语面:开始50分钟全部用英语1.自我介绍(两分钟):我觉得重要的是   第一步,介绍自己;第二步,说技术,让面试官知道自己精通XXXX,熟悉XXXX,了解XXXX,对XXXX在XXXX环境下的XXXX有深入的认识。    第三步,说

2015-06-11 13:01:29 1676

原创 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 removing the second node from the end, the

2015-06-10 13:52:58 239

原创 Excel Sheet Column Title

Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB Credits

2015-06-10 10:53:30 265

原创 Climbing Stairs

You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?即求菲波拉契数列,第一次publ

2015-06-10 08:58:40 307

原创 Add Binary

Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".wa了很多次,进位考虑的不仔细。package leetcode;public class AddBinary {pub

2015-06-09 21:53:14 363

原创 Plus One

Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.给你一个非负数的整形数组,加

2015-06-09 14:06:32 320

原创 Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.Note: A word is

2015-06-09 12:58:04 215

原创 Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.考察对有序链表的使用,归并。package leetcode;public

2015-06-09 12:09:08 316

转载 字符串匹配的KMP算法

字符串匹配的KMP算法作者: 阮一峰日期: 2013年5月 1日字符串匹配是计算机的基本任务之一。举例来说,有一个字符串"BBC ABCDAB ABCDABCDABDE",我想知道,里面是否包含另一个字符串"ABCDABD"?许多算法可以完成这个任务,Knuth-Morris-Pratt算法(简称KMP)是最常

2015-06-09 07:40:47 281

原创 Count and Say

The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off as "two 1s" or 21.21 is read off as 

2015-06-08 09:43:00 252

转载 Java中的String类常量池详解

从一个博客上看到的6个题,先看看吧,如果都会了,这部分的知识就掌握的不错啦!输出结果在代码注释后面:test1:package StringTest;public class test1 { /** * @param args */ public static void main(String[] args){ String

2015-06-08 09:10:28 372

原创 Implement strStr()

Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Update (2014-11-02):The signature of the function had been updat

2015-06-08 08:24:07 296

原创 Remove Element

Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't matter what you leave beyond the new length.

2015-06-07 16:33:56 295

原创 Remove Duplicates from Sorted Array

Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with

2015-06-07 16:15:13 240

原创 Valid Parentheses

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" are all va

2015-06-07 15:47:25 239

原创 Longest Common Prefix

Longest Common Prefix Total Accepted: 49556 Total Submissions: 192089My SubmissionsQuestion Solution Write a function to find the longest common prefix string amongst an array of

2015-06-06 13:29:45 274

原创 Roman to Integer

Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.了解规则,进行运算。基本字符IVXLCDM相

2015-06-06 13:01:42 274

原创 Reverse Integer

Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Have you thought about this?Here are some good questions to ask before c

2015-06-06 09:14:42 266

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除