user avatar
user avatar
user avatar
Gareth Rees
  • Member for 10 years, 3 months
  • Last seen this week
75 votes
Accepted

100 gunmen in a circle kill next person

61 votes
Accepted

Dynamic programming knapsack solution

51 votes

Speed up solution to Project Euler problem 75

49 votes
Accepted

Check if a directed graph contains a cycle

46 votes

Simple method to detect int overflow

39 votes
Accepted

Counting permutations without repetitions for a number or a string

36 votes
Accepted

20 Ways to do Random Sampling

34 votes

Sieve of Eratosthenes - Python

33 votes
Accepted

Flappy Bird game clone for a beginners' programming class

32 votes
Accepted

Looking for a way to create a particular matrix in python in a less amount of time

31 votes
Accepted

Scale Numpy array to certain range

29 votes
Accepted

Removing neighbors in a point cloud

29 votes

Algorithm to transform one word to another through valid words

29 votes
Accepted

Fastest way to iterate over Numpy array

29 votes
Accepted

Exhaustive search for encryption keys

28 votes
Accepted

Snake game using PyGame

27 votes
Accepted

Solving 15 puzzle

25 votes
Accepted

Remove points in a straight line

24 votes
Accepted

Finding the intersection of two sets of integers

24 votes
Accepted

Google Foobar Challenge: Lucky Triples

23 votes
Accepted

Increasing speed of BWT inverse

23 votes
Accepted

Find the next multiple of N that is a perfect square number

22 votes
Accepted

Python 3 function to rotate an image 90°

22 votes
Accepted

Intersection over Union for rotated rectangles

22 votes

Crop black border of image using NumPy

22 votes
Accepted

Push all zeros to tail of int array

21 votes
Accepted

Adjacency List Graph representation on python

21 votes
Accepted

Can I buff up your file?

21 votes
Accepted

Count number of ways to paint a fence with N posts using K colors

19 votes
Accepted

Efficiently filter a large (100gb+) csv file (v3)

1
2 3 4 5
22