Merge Snippets

Example code for merge sort of an integer list

13 September, 2015   

C code snippet for another merge sort of integer list

16 April, 2011   

There are times when you need to split a large file into several smaller ones (for whatever the purpose is). The following two methods use Delphi TStream objects to break a file into several files with predefined size; and to merge those files back to the original.

19 April, 2015   

Merges two strings in a way that a pattern like ABABAB will be the result.

07 August, 2014   

All hints except /*+ rule */ cause the CBO to be used. Therefore, it is good practise to analyze the underlying tables if hints are used (or the query is fully hinted.

C code snippet for merging sort algorithm to sort