C++ 1. What do you understand by a declaration, a definition, and an instantiation? 2. What are the...

# Author - Partha Biswas

## Protected: Midterm (Summer 2015) Questions

Password protected posts only work over HTTPS To provide the password, please first visit this page...

## Protected: Midterm (Summer 2015) solution

Password protected posts only work over HTTPS To provide the password, please first visit this page...

## Practice questions on recursion and binary trees

Problem 1: Examine the following pattern of asterisks and blanks, and write a recursive function...

## Practice Questions — Recursion

Recursion: 1. Write a recursive algorithm to perform x^n. 2. Write a recursive algorithm for binary...

## Practice Questions — Linked lists, stacks, queues

Linked Lists: 1. Write an algorithm to detect a cycle in a linked list. 2. Remove consecutive...

## Code Notes: Queue

Topics covered: Queue operations Link to source code: #include "sll.h" /// A queue (FIFO)...

## Code Notes: Stack

Topics covered: Stack operations Link to source code: #include "sll.h" /// A stack...

## Code Notes: Linked List

Topics covered: Linked list encapsulation and operations Link to source code: #include...

## Data structures and Algorithms

Algorithm: A method to solve a problem in any domain. Data structure: A method to store information...