codingHeart

返回顶部

2017年3月28日

通用数据库帮助类DBHelper(含log日志信息实时记录)

摘要: 项目需要,需要一个通用的数据库操作类,增删改查、事务、存储过程、日志记录都要有,于是在已有的帮助类上做了一些改进,并将log4j的.NET版--log4net嵌入其中记录sql的执行环境和状态。 用起来还是比较顺手的,因此分享一下供参考。其中log4net需要通过VS的NuGet程序包管理器引入然后 阅读全文

posted @ 2017-03-28 15:56 codingHeart 阅读(2563) 评论(7) 推荐(3) 编辑

2017年3月13日

3. Longest Substring Without Repeating Characters - 最长无重复字符子串-Medium

摘要: Examples: Description: Given a string, find the length of the longest substring without repeating characters. Example: 思路分析: 1.第一想法:从第一个字符起,逐个计算出最长字串长 阅读全文

posted @ 2017-03-13 23:57 codingHeart 阅读(300) 评论(0) 推荐(1) 编辑

2017年3月12日

27. Remove Element - 移除元素-Easy

摘要: Description: Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for anothe 阅读全文

posted @ 2017-03-12 23:44 codingHeart 阅读(529) 评论(0) 推荐(0) 编辑

20. Valid Parentheses - 括号匹配验证

摘要: Description: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Example: 思路分析: 1.这 阅读全文

posted @ 2017-03-12 00:23 codingHeart 阅读(1531) 评论(0) 推荐(1) 编辑

2017年3月10日

2. Add Two Numbers

摘要: Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their 阅读全文

posted @ 2017-03-10 14:49 codingHeart 阅读(202) 评论(0) 推荐(0) 编辑

1. Two Sum

摘要: Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input 阅读全文

posted @ 2017-03-10 11:01 codingHeart 阅读(232) 评论(0) 推荐(0) 编辑

导航