- 博客(14)
- 资源 (1)
- 收藏
- 关注
原创 LWC 60:736. Parse Lisp Expression
LWC 60:736. Parse Lisp Expression传送门:736. Parse Lisp ExpressionProblem: You are given a string expression representing a Lisp-like expression to return the integer value of. The syntax for these
2017-11-29 14:44:11 828
原创 LWC 60:735. Asteroid Collision
LWC 60:735. Asteroid Collision传送门:735. Asteroid CollisionProblem: We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents it
2017-11-29 13:03:50 580
原创 LWC 60:734. Sentence Similarity
LWC 60:734. Sentence Similarity传送门:734. Sentence SimilarityProblem: Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if
2017-11-29 12:10:14 753
原创 LWC 60:733. Flood Fill
LWC 60:733. Flood Fill传送门:733. Flood FillProblem: An image is represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535). Given a coordinate
2017-11-29 10:52:36 802
原创 LWC 59:730. Count Different Palindromic Subsequences
LWC 59:730. Count Different Palindromic Subsequences传送门:730. Count Different Palindromic SubsequencesProblem: Given a string S, find the number of different non-empty palindromic subsequences in S, a
2017-11-19 21:45:11 1164
原创 LWC 59:731. My Calendar II
LWC 59:731. My Calendar II传送门:729. My Calendar IIProblem: Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. Your
2017-11-19 18:24:24 1496 1
原创 LWC 59:729. My Calendar I
LWC 59:729. My Calendar I传送门:729. My Calendar IProblem: Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking. Your clas
2017-11-19 17:34:44 1017
原创 LWC 59:728. Self Dividing Numbers
LWC 59:728. Self Dividing Numbers传送门:728. Self Dividing NumbersProblem: A self-dividing number is a number that is divisible by every digit it contains. For example, 128 is a self-dividing numbe
2017-11-19 16:53:11 1679
原创 LWC 58:726. Number of Atoms
LWC 58:726. Number of Atoms传送门:726. Number of AtomsProblem: Given a chemical formula (given as a string), return the count of each atom. An atomic element always starts with an uppercase charact
2017-11-13 18:12:01 782
原创 LWC 58:725. Split Linked List in Parts
LWC 58:725. Split Linked List in Parts传送门:725. Split Linked List in PartsProblem: Given a (singly) linked list with head node root, write a function to split the linked list into k consecutive linked
2017-11-13 17:41:09 514
原创 LWC 58:724. Find Pivot Index
LWC 58:724. Find Pivot Index传送门:724. Find Pivot IndexProblem: Given an array of integers nums, write a method that returns the “pivot” index of this array. We define the pivot index as the index
2017-11-13 17:05:50 927
原创 LWC 57:723. Candy Crush
LWC 57:723. Candy Crush传送门:723. Candy CrushProblem: This question is about implementing a basic elimination algorithm for Candy Crush. Given a 2D integer array board representing the grid of can
2017-11-10 18:00:46 897
原创 LWC 57:721. Accounts Merge
LWC 57:721. Accounts Merge传送门:721. Accounts MergeProblem: Given a list accounts, each element accounts[i] is a list of strings, where the first element accounts[i][0] is a name, and the rest of the e
2017-11-10 15:58:36 1300
原创 LWC 57:720. Longest Word in Dictionary
LWC 57:720. Longest Word in Dictionary传送门:720. Longest Word in DictionaryProblem: Given a list of strings words representing an English Dictionary, find the longest word in words that can be built on
2017-11-10 15:42:44 832
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人