09 2018 档案
摘要:【实习】刚入职,公司要求完成两个任务,任务要求使用存储过程和事务,其中一个问题要获取存储过程的查询结果集。经过多方查找和自己的实践,终于找到了方法。这里记录一下。 看到的这篇文章中给出的例子是查询单个表的所有数据,但是我的要求是多表查询并获取其中的几个字段。而且我是使用POCO(POCO是指Plai
阅读全文
摘要:Description Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Note: The input array will only contain 0 and 1.
阅读全文
摘要:Description Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the element
阅读全文
摘要:学习如鹏网掌上组的项目开发,使用到了前端验证,视频里使用的ValidateForm验证框架,但是我使用的Hui的框架中使用的是jquery.validate验证框架 所以自行学习jquery.validate的使用 但是遇到了一个问题,就是我没有使用submit按钮进行提交,而是在button的点击
阅读全文
摘要:Description Given a sorted linked list, delete all duplicates such that each element appear only once. Example 1: Example 2: 问题描述:给定一个已排序链表,移除重复元素 代码:
阅读全文
摘要:Description 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 lis
阅读全文
摘要:今天老师让我把一个项目接过来,还有个定时局部刷新的需求没做完。当时想的很简单,直接用ajax再去请求一次,直接把整个页面换掉。 但是在执行的时候出现了一些问题。 项目中使用了echarts用来显示图表,但是在每次重新请求并把页面替换时, 每次请求之后浏览器占用的内存都会增加。在多次请求之后,浏览器就
阅读全文
摘要:用公司的电脑学习如鹏网的视频,开发一个项目,用到了进程外session,因为公司电脑SQLServer 是2008 服务器名称是. 然后参考这篇文章进行设置进程外session 很顺利 完成了设置。 近期把项目放到了自己的电脑上。在运行的是出现了一系列的问题。 先说一下两台机器的环境 公司电脑: V
阅读全文
摘要:Description Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The t
阅读全文
摘要: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
阅读全文
摘要:Description Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. Exam
阅读全文
摘要:Description Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Example 2
阅读全文
摘要:恢复内容开始 Description Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i]
阅读全文
摘要:Description Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twic
阅读全文
摘要:恢复内容开始 Description Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Example 2: Note: Try to come up as ma
阅读全文