Given weights and values of n items, put these items in a knapsack of capacity W to get...
![240](https://cdn2.jianshu.io/assets/default_avatar/9-cceda3cf5072bcdd77e8ca4f21c40998.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
Given weights and values of n items, put these items in a knapsack of capacity W to get...
Given a binary string of length N and an integer K, we need to find out how many substr...
Reverse bits of a given 32 bits unsigned integer.Example:Input: 43261596Output: 9641761...
261. Graph Valid Tree Given n nodes labeled from 0 to n-1 and a list of undirected edge...
A general approach to backtracking questions in Java (Subsets, Permutations, Combinatio...
99. Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped b...
Sentence Similarity II Given two sentences words1, words2 (each represented as an array...
Contains Duplicate III Given an array of integers, find out whether there are two disti...
Maximum Product of Word Lengths Given a string array words, find the maximum value of l...
2 Pointers Given n non-negative integers representing an elevation map where the width ...
Word Search II Given a 2D board and a list of words from the dictionary, find all words...
Longest Increasing Path in a Matrix Given an integer matrix, find the length of the lon...
Sort List Sort a linked list in O(n log n) time using constant space complexity.Example...
Sliding Whinow(3) Given a string, find the length of the longest substring without repe...
上一篇中讲了Rxjava的基本使用,这篇来讲一下Rxjava的一些高级操作 一.Rxjava中的变换 RxJava 提供了对事件序列进行变换的支持,这是它的核心功能之一,也是...
最近项目中用到了异步操作,感觉android自身的AsyncTask和handler有点繁琐且不够简洁,于是学习了一下Rxjava,并没有特别深入,但有了基本的了解 一.简介...
一.简介 Robotium是一款国外的Android自动化测试框架,主要针对Android平台的应用进行黑盒自动化测试,它提供了模拟各种手势操作(点击、长按、滑动等)、查找和...