271. Encode and Decode Strings
271. Encode and Decode Strings
Description
Design an algorithm to encode a list of strings to a string. The encoded string is then sent over the network and is decoded back to the original list of strings.
269. Alien Dictionary
268. Missing Number
763. Partition Labels
253. Meeting Rooms II
252. Meeting Rooms
746. Min Cost Climbing Stairs
217. Contains Duplicate
213. House Robber II
Description
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at this place are arranged in a circle. That means the first house is the neighbor of the last one. Meanwhile, adjacent houses have a security system connected, andit will automatically contact the police if two adjacent houses were broken into on the same night.