File tree 2 files changed +2
-2
lines changed
src/main/java/com/fishercoder/solutions
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ Your ideas/fixes/algorithms are more than welcome!
149
149
|464|[ Can I Win] ( https://leetcode.com/problems/can-i-win/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_464.java ) | O(2^n)|O(n) | Medium| DP
150
150
| 463| [ Island Perimeter] ( https://leetcode.com/problems/island-perimeter/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/IslandPerimeter.java ) | O(m* n)| O(1) | Easy|
151
151
| 462| [ Minimum Moves to Equal Array Elements II] ( https://leetcode.com/problems/minimum-moves-to-equal-array-elements-ii/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/MinimumMovestoEqualArrayElementsII.java ) | O(nlogn) | O(1) | Medium|
152
- | 461| [ Hamming Distance] ( https://leetcode.com/problems/hamming-distance/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/HammingDistance .java ) | O(n) | O(1) | Easy|
152
+ | 461| [ Hamming Distance] ( https://leetcode.com/problems/hamming-distance/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_461 .java ) | O(n) | O(1) | Easy|
153
153
|460|[ LFU Cache] ( https://leetcode.com/problems/lfu-cache/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_460.java ) | O(?) |O(?) | Hard| Design
154
154
|459|[ Repeated Substring Pattern] ( https://leetcode.com/problems/repeated-substring-pattern/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_459.java ) | O(n)|O(n) | Easy| KMP
155
155
|458|[ Poor Pigs] ( https://leetcode.com/problems/poor-pigs/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_458.java ) | O(1) |O(1) | Easy| Math
Original file line number Diff line number Diff line change 21
21
22
22
The above arrows point to positions where the corresponding bits are different.
23
23
*/
24
- public class HammingDistance {
24
+ public class _461 {
25
25
public int hammingDistance (int x , int y ) {
26
26
int n = x ^y ;
27
27
int count = 0 ;
You can’t perform that action at this time.
0 commit comments