Algorithm & Data Structure DEMO code