摘要:
package LeetCode_505 import java.util.* /** * 505. The Maze II * (Prime) * There is a ball in a maze with empty spaces and walls. * The ball can go th 阅读全文
摘要:
package LeetCode_498 import java.util.* /** * 498. Diagonal Traverse * https://leetcode.com/problems/diagonal-traverse/ * Given a matrix of M x N elem 阅读全文
摘要:
package LeetCode_489 /** * 489. Robot Room Cleaner * (Prime) * Given a robot cleaner in a room modeled as a grid. Each cell in the grid can be empty o 阅读全文
摘要:
package _interview_question /** * we have 2 arrays in sorted order, no duplicates. we need find the max continuous length AP [arithmetic prog] in the 阅读全文
摘要:
/** *The Sieve of Eratosthenes is an algorithm used to generate all prime numbers smaller than N. * The method is to take increasingly larger prime nu 阅读全文