Sorting

­

Bubble Sort

Introduce Bubble Sort

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , |

Selection Sort

Introduce Selection Sort

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , |

Insertion Sort

Introduce Insertion Sort

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , |

Merge Sort

Introduce Merge Sort

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , |

Quick Sort

Introduce Quick Sort

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , |

Sorting Algorithms Comparison

Compares pros and cons of different sorting algorithms

November 14th, 2015|Categories: DS and Algorithms, Sorting|Tags: , , , , , , , |

[Leetcode] Kth Largest Element in an Array

Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.

November 28th, 2015|Categories: DS and Algorithms, Sorting|Tags: , , , , , |

[Leetcode] Largest Number

Given a list of non negative integers, arrange them such that they form the largest number.

November 14th, 2015|Categories: DS and Algorithms, Sorting, String|Tags: , , , |

[Leetcode] Majority Element

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.

December 7th, 2015|Categories: Array, DS and Algorithms, Hash, Sorting|Tags: , , , , |