C Programming Efficient program to calculate e^x – Mathematical Algorithms – The value of Exponential Function e^x can be expressed using Taylor Series.
Coding
Latest Articles and Errors& Fixes fo popular programming languages like HTML,CSS, PHP, Javascript, Angularjs and more
Optimization Techniques | Set 1 (Modulus) – Bit Algorithm – The modulus operator (%) in various languages is costly operation. Ultimately every operator. must result in processor instructions. Some processors won’t have modulus instruction at hardware level
Python Algorithm – Depth First Traversal or DFS for a Graph – Graph Algorithms – Depth First Traversal for a graph is similar to Depth First Traversal
How to check if two given line segments intersect? – Geometric Algorithms – Orientation of an ordered triplet of points in the plane.
Smallest of three integers without comparison – Bit Algorithm – Take a counter variable c and initialize 0. In a loop, repeatedly subtract x, y and z by 1.
C Programming – Check divisibility by 7 – Mathematical Algorithms – Divisibility by 7 can be checked by a recursive method. A number of the form 10a + b.
C++ Programming-Backtracking Set 6 (Hamiltonian Cycle) – Backtracking – Hamiltonian Path in an undirected graph is a path that visits each vertex exactly.
C Programming – Given a number, find the next smallest palindrome – Mathematical Algorithms – For example, if the input number is “2 3 5 4 5”.
C++ Programming-Backtracking Set 5 – Backtracking – Given an undirected graph and a number m, determine if the graph can be colored with most m colors such that no two adjacent vertices of the graph are colored with same color.
Python programming – Sieve of Eratosthenes – Mathematical Algorithms – Given a number n, print all primes smaller than or equal to n.For example, if n.