Lin Ma's user avatar
Lin Ma's user avatar
Lin Ma's user avatar
Lin Ma
  • Member for 8 years, 2 months
  • Last seen more than 6 years ago
9 votes
1 answer
14k views

Check if two rectangles overlap

9 votes
1 answer
831 views

Check “five in a row” for a 15x15 chess board (part 2)

9 votes
1 answer
8k views

Find the nearest point of a given set of points

8 votes
2 answers
3k views

Sudoku solver recursive solution

8 votes
1 answer
1k views

Find the nearest point of a given set of points (part 2)

7 votes
1 answer
155 views

Classic merge sort (part 2)

7 votes
4 answers
7k views

Buy once and sell once for maximum profit

7 votes
1 answer
3k views

Trie Tree match string containing ? and *

7 votes
4 answers
7k views

Find the shortest whole repetitive substring

6 votes
1 answer
348 views

Algorithm to park cars with minimal moves (2nd version)

6 votes
2 answers
10k views

sparse vector dot product

6 votes
2 answers
2k views

Strongly connected component algorithm in Python 2.7

6 votes
2 answers
4k views

Knuth–Morris–Pratt string match algorithm

6 votes
1 answer
2k views

Sparse matrix compressed sparse row (CSR) in Python 2.7

6 votes
2 answers
799 views

4 sum challenge (part 2)

6 votes
2 answers
3k views

Check "five in a row" for a 15x15 chess board

6 votes
2 answers
7k views

Prefix search by trie tree

5 votes
1 answer
1k views

Dynamic programming solution for cross river algorithm

5 votes
1 answer
704 views

Balanced smileys check algorithm (part 3)

5 votes
1 answer
223 views

Using range minimal query for lowest common ancestor (LCA) -- part 2

5 votes
1 answer
1k views

Quick select the kth smallest value

5 votes
1 answer
834 views

Counting the number of elements in a sorted array

5 votes
4 answers
2k views

Two sum with two lists

5 votes
0 answers
430 views

4 sum challenge [duplicate]

5 votes
1 answer
712 views

Find equal pairs

5 votes
2 answers
2k views

Valid palindrome solution

5 votes
2 answers
136 views

Classic merge sort

5 votes
2 answers
3k views

Find median of two sorted arrays

5 votes
1 answer
647 views

Social network broadcast message algorithm

5 votes
2 answers
550 views

Print tree in a zigzag manner