// archives


This category contains 5 posts

Facebook hiring sample test – Missing Term in an Arithmetic Progression

Missing Term in an Arithmetic Progression

Get the index (‘id’) from the most recently inserted record in MySQL using PHP

Getting the ‘id’ index from the last INSERT in MySQL

Project Euler 128 Solution

Find the 2000th hexagonal tile in which the differences between it and its 6 neighbors yield 3 primes.

Source Code for Master Lock Combination Calculator

Source code in PHP for calculating combination possibilities given the last number in a combination for Master combination locks.

Various SPOJ Solutions in Python

Short collection of rough draft Python programs concentrating on formulaic solutions.