This repository contains several data structure and algorithm challenges written in C and Objective-C.
- Sum of pairs
Check if the array contains two elements whose sum equals to the given number.
- Stack
A very basic stack implementation that provides operations like push, pop, and peek.
Given an array of elements and a number of rotations, rotate the contents of the array to the left.