上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 79 下一页
摘要: package LeetCode_72 /** * 72. Edit Distance * https://leetcode.com/problems/edit-distance/description/ * * Given two words word1 and word2, find the m 阅读全文
posted @ 2020-05-05 16:20 johnny_zhao 阅读(113) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1426 import java.util.* /** * 1426. Counting Elements * Given an integer array arr, count element x such that x + 1 is also in arr. * 阅读全文
posted @ 2020-05-04 12:16 johnny_zhao 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 什么是霍夫曼编码 (Huffman Coding) 是一种用于无损数据压缩的权编码算法。由美国计算机科学家David Albert Huffman在1952年发明。 霍夫曼编码使用变长编码表泽源符号(如一个字母)进行编码,其中变长编码表是通过一种评估来源符号出现几率的方法得到的,出现几率高的字母使用 阅读全文
posted @ 2020-05-03 10:46 johnny_zhao 阅读(258) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_136 /** * 136. Single Number * https://leetcode.com/problems/single-number/description/ * Given a non-empty array of integers, every 阅读全文
posted @ 2020-05-03 00:58 johnny_zhao 阅读(88) 评论(0) 推荐(0) 编辑
摘要: package _Sort.Algorithm /** * https://www.geeksforgeeks.org/heap-sort/ * https://www.cnblogs.com/chengxiao/p/6129630.html * * Heap Sort is an in-place 阅读全文
posted @ 2020-05-01 13:30 johnny_zhao 阅读(125) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_1290 /** * 1290. Convert Binary Number in a Linked List to Integer * https://leetcode.com/problems/convert-binary-number-in-a-linked- 阅读全文
posted @ 2020-04-29 00:13 johnny_zhao 阅读(109) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_713 /** * 713. Subarray Product Less Than K * https://leetcode.com/problems/subarray-product-less-than-k/description/ * * Your are gi 阅读全文
posted @ 2020-04-25 21:06 johnny_zhao 阅读(92) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_930 /** * 930. Binary Subarrays With Sum * https://leetcode.com/problems/binary-subarrays-with-sum/description/ * * In an array A of 阅读全文
posted @ 2020-04-25 20:34 johnny_zhao 阅读(96) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_152 /** * 152. Maximum Product Subarray * https://leetcode.com/problems/maximum-product-subarray/description/ * * Given an integer ar 阅读全文
posted @ 2020-04-25 19:15 johnny_zhao 阅读(101) 评论(0) 推荐(0) 编辑
摘要: package LeetCode_560 /** * 560. Subarray Sum Equals K * https://leetcode.com/problems/subarray-sum-equals-k/description/ * * Given an array of integer 阅读全文
posted @ 2020-04-25 14:50 johnny_zhao 阅读(71) 评论(0) 推荐(0) 编辑
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 79 下一页