-
-
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate ext...
-
Uber-NY Onsite "噢你很懂design?"【一亩三分地论坛面经版】 - Powered by Discuz! 1,常见题-Design spotify,主要在问playlist和shuffle list功能。 >player,play...
-
Maximum sum of distinct numbers with LCM as N - GeeksforGeeks Given a number N, the task is to find out maximum sum of distinct numbers su...
-
https://windsuzu.github.io/leetcode-620/ X city opened a new cinema, many people would like to go to this cinema. The cinema also gives ou...
-
http://www.geeksforgeeks.org/maximum-sum-alternating-subsequence-sum Given an array, the task is to find sum of maximum sum alternating s...
-
Algorithms, Part I — Social Network Connectivity (With Union-Find) | Data Nest Q: Given a social network containing N members and a log fi...
-
Recover a Quack Data Structure | tech::interview 给一个Quack的类,里面有三个方法: pop(): 随机从头或者尾扔出一个元素; peek(): 随机看头或者尾的一个元素,peek()之后pop()的话一定会pop()...
-
Even or Odd String Interview Question - Hacker Rank Goal : To determine if it is a even or odd string. Input : Number and Array of Strin...
-
leetcode Water and Jug Problem - 细语呢喃 You are given two jugs with capacities x and y litres. There is an infinite amount of water supply...