Skip to content

Instantly share code, notes, and snippets.

View prabhakar9885's full-sized avatar

Prabhakar Bikkaneti prabhakar9885

  • IIIT-Hyderabad
  • Hyderabad, TS, India
View GitHub Profile
@prabhakar9885
prabhakar9885 / voronoi.py
Created January 16, 2016 16:37 — forked from synapticarbors/voronoi.py
Subdivide Voronoi Cells
#!/usr/bin/env python
# -----------------------------------------------------------------------------
# Voronoi diagram from a list of points
# Copyright (C) 2011 Nicolas P. Rougier
#
# Distributed under the terms of the BSD License.
# -----------------------------------------------------------------------------
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
@prabhakar9885
prabhakar9885 / skip_list.c
Created December 1, 2015 05:42 — forked from zhpengg/skip_list.c
skiplist implementation in c
/* Skip Lists: A Probabilistic Alternative to Balanced Trees */
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#define SKIPLIST_MAX_LEVEL 6
typedef struct snode {
int key;