/Swift-DataStructure

Basic data-structure implementations in Swift.

Primary LanguageSwift

Basic data-structure implementations Using Swift

a) Linked List

b) Queue, Stack

c) Binary Search Tree

d) Binary Tree,

e) Binary Search

f) Graph

Array Data structure Problems

a) Two Number Sum

b) Three Number Sum

c) Four Number Sum

d) Smallest Difference From Two Given Array Elements

e) Move Element to End

f) Sort Sub Array Problem

g) Largest Range Problem

h) Zig Zag Traverse Problem

Binary Search Tree Problems

a) Closest value problem

Sorting Examples

a) Bubble Sort

b) Insertion Sort

c) Selection Sort

d) Quick Sort

e) Heap Sort

f) Merge Sort