Skip to content

Instantly share code, notes, and snippets.

Abd-afeez Abd-hamid Adedamola Itsdenty

Block or report user

Report or block Itsdenty

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Itsdenty / hashtable.c
Last active Apr 20, 2018
An implementation of the harsh table in c
View hashtable.c
#include <stdio.h>
#include <string.h>
/* entry_s is the structure declaration for storing a single key and value node*/
struct entry_s {
char not_empty;
char key[7];
char val[16];
/* creates a declaration keyword for the entry_s custom structure */
typedef struct entry_s entry_t;
Itsdenty / prime
Created Jun 23, 2016
python prime number check function
View prime
def prime_number(x):
if x <2:
return False
if x==2:
return True
if not x & 1:
return False
for n in range (3,int(x**0.5)+1,2):
if x%n == 0:
return False
Itsdenty / feet to centimeter.js
Created May 20, 2016
the assignment on feet to centimeter
View feet to centimeter.js
function toCentimetre(feet) {
feet /= 33;
var centimetre = feet;
return centimetre;
You can’t perform that action at this time.