C Programming for Efficient way to multiply with 7 – Mathematical Algorithms – We can multiply a number by 7 using bitwise operator. left shift number by 3.
Algorithm
C programming for Write an Efficient Method to Check if a Number is Multiple of 3 – Mathematical Algorithms – If sum of digits in a number is multiple of 3.
C programming for Z algorithm Linear time pattern searching Algorithm – searching and sorting – element Z[i] of Z array stores length of the longest string.
C++ Programming for kasai Algorithm for Construction of LCP array from Suffix Array – Searching and Sorting – In this article kasai Algorithm is discussed.
C++ Programming for Pattern Searching using a Trie of all Suffixes – Searching and Sorting – Implementation of Suffix Tree may be time consuming for problem
C Programming for Pattern Searching using a Trie of all Suffixes – Searching and Sorting – Implementation of Suffix Tree may be time consuming for problems.
C++ Programming for Anagram Substring Search Or Search for all permutations – Searching and sorting – A simple idea is to modify Rabin Karp Algorithm.
Backtracking Set 5 (m Coloring Problem)-Backtracking-Given an undirected graph and a number m, determine if the graph can be colored with at most m colors .
C++ Programming for Suffix Array Set 1 Introduction – Searching and sorting – A suffix array is a sorted array of all suffixes of a given string.
C Programming for Suffix Array Set 1 Introduction – Searching and sorting – A suffix array is a sorted array of all suffixes of a given string.