程序媛詹妮弗
终身学习
上一页 1 2 3 4 5 6 ··· 30 下一页
摘要: Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: 思路: player1 走一步加1 player2 走一步减1 看谁su 阅读全文
posted @ 2019-07-31 06:33 程序媛詹妮弗 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-07-03 05:26 程序媛詹妮弗 阅读(210) 评论(0) 推荐(0) 编辑
摘要: There are 8 prison cells in a row, and each cell is either occupied or vacant. Each day, whether the cell is occupied or vacant changes according to t 阅读全文
posted @ 2019-07-03 03:58 程序媛詹妮弗 阅读(401) 评论(0) 推荐(0) 编辑
摘要: A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p 阅读全文
posted @ 2019-07-03 03:46 程序媛詹妮弗 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at leas 阅读全文
posted @ 2019-07-03 02:41 程序媛詹妮弗 阅读(224) 评论(0) 推荐(0) 编辑
摘要: We have a list of points on the plane. Find the K closest points to the origin (0, 0). (Here, the distance between two points on a plane is the Euclid 阅读全文
posted @ 2019-07-03 02:34 程序媛詹妮弗 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 阅读全文
posted @ 2019-06-18 00:14 程序媛詹妮弗 阅读(189) 评论(0) 推荐(0) 编辑
摘要: You have an array of logs. Each log is a space delimited string of words. For each log, the first word in each log is an alphanumeric identifier. Then 阅读全文
posted @ 2019-06-15 04:14 程序媛詹妮弗 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 首先我用一个自制图表示这节会涉及的几个概念: AJAX是现在网页普遍都采用的局部刷新网页技术。在AJAX之前,每当用户向服务器发送请求,哪怕只是需要更新一点点的局部内容,服务器都会将整个页面进行刷新。 JSON: 一种数据交换格式 JSON值 数字 字符串: " " 布尔值: true/false 阅读全文
posted @ 2019-06-06 05:36 程序媛詹妮弗 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Q: 在扫整个链表的时候,到底什么时候用 while(cur!=null) 什么时候用 while(cur.next!=null) 呢? 以[leetcode]83. Remove Duplicates from Sorted List有序链表去重(有重去重)和[leetcode]82. Remov 阅读全文
posted @ 2019-06-01 03:23 程序媛詹妮弗 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 30 下一页