-
http://bookshadow.com/weblog/2016/12/11/leetcode-encode-string-with-shortest-length/ Given a non-empty string, encode the string such t...
-
Find number of subarrays with even sum - GeeksforGeeks Given an array, find the number of subarrays whose sum is even. O(n) Time and O(1...
-
https://www.hackerrank.com/challenges/waiter You are a waiter at a party. There are N N stacked plates. Each plate has a number written...
-
http://www.1point3acres.com/bbs/thread-148690-1-1.html 第一题: 给一个network of computers, each computer only see its neighbors and can send pac...
-
[CareerCup] 10.4 Find All Duplicates Elements 寻找所有的重复项 - Grandyang - 博客园 10.4 You have an array with all the numbers from 1 to N, where N ...
-
leetcode 291 Word Pattern II Given a pattern and a string str , find if str follows the same pattern. Here follow means a full m...
-
https://discuss.leetcode.com/topic/10/bomb-enemy/ Given a 2D grid, each cell is either a wall 'W' , an enemy 'E' or e...
-
https://leetcode.com/problems/friend-circles There are N students in a class. Some of them are friends, while some are not. Their frien...
-
http://bookshadow.com/weblog/2016/10/16/leetcode-word-squares/ Given a set of words (without duplicates) , find all word squares you c...
-
https://github.com/mission-peace/interview/blob/master/src/com/interview/random/RandomCountrySelectionByPopluation.java public int getRand...
No comments:
Post a Comment