程序媛詹妮弗
终身学习
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the d 阅读全文
posted @ 2018-11-25 11:53 程序媛詹妮弗 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 题目 给定一个无向图的节点,克隆能克隆的一切 思路 以上图为例, node neighbor 1 2, 3 2 1 3 1, 5 5 3 首先从1开始, 将(node,newNode)put到HashMap中 node newNode 1 1 然后遍历该node的所有neighbor node ne 阅读全文
posted @ 2018-11-25 11:23 程序媛詹妮弗 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty. Example: Explana 阅读全文
posted @ 2018-11-25 10:03 程序媛詹妮弗 阅读(280) 评论(0) 推荐(0) 编辑
摘要: Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: 注意: 搞清楚何谓matrix 阅读全文
posted @ 2018-11-25 05:59 程序媛詹妮弗 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Given an input string, reverse the string word by word. Example: Input: "the sky is blue",Output: "blue is sky the".Note: A word is defined as a seque 阅读全文
posted @ 2018-11-03 16:44 程序媛詹妮弗 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another e 阅读全文
posted @ 2018-11-03 16:11 程序媛詹妮弗 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 跟面试官确认是arrayList还是singly-linked list /* Union 并集:两个升序的list a, b, 返回其并集(升序排序)*/ /* Intersection 交集:两个升序的list a, b, 返回其交集(升序排序) */ followup1: 上述问题是2个lis 阅读全文
posted @ 2018-11-03 08:32 程序媛詹妮弗 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 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 occurrenc 阅读全文
posted @ 2018-11-03 04:58 程序媛詹妮弗 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or 阅读全文
posted @ 2018-11-02 16:54 程序媛詹妮弗 阅读(496) 评论(0) 推荐(0) 编辑
摘要: Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- w 阅读全文
posted @ 2018-10-31 02:44 程序媛詹妮弗 阅读(493) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页