Categories
- Computer Science (46)
- C Language (5)
- Coding Discussions (21)
- Linux / Unix Shell (15)
- Others (4)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (37)
- Humor (16)
- Writings (3)
- Computer Science (46)
Tags
StackOverflow
Follow Information Retrival Q&A site in Stackexchange
-
Top 10
- Geeky Code Wallpaper with GIMP
- Floating point math operations in bash
- Read multiple arguments in bash script
- Bash Script : Print lines of a file in reverse order
- Choose login manager GDM or KDM in Fedora
- Fix dark video in Skype for Linux
- C Language Constructors and Destructors with GCC
- Running Skype for Fedora x86 in Fedora x86_64
- Bash Script: Counting lines, words, characters
- Balanced Parenthesis Check
-
Recent Comments
Polls
Category Archives: Coding Discussions
Number of trailing zeros in factorial of an integer
An integer n is given, the task is to find the number of trailing zeros in n! .
Posted in Coding Discussions, Computer Science, Others
Tagged C program, counting, numerical, Programming
Leave a comment
Find Sum (i … j) in a list
The problem is to sum the ith to jth element of a given list. The easiest solution runs in time, which starts are the ith index and adds up the numbers in the list until it reaches the jth index. … Continue reading
Posted in Coding Discussions, Computer Science
Tagged C program, counting, Programming
Leave a comment
Find a String in an Alphabet Grid
Everybody of us has definitely played the word search game in which a grid of characters are given, and a list of words are given which are to be found in the grid horizontally, vertically or diagonally. In this post … Continue reading
Towers of Hanoi Iterative process: simulating recursion
The last post Recursive Solution to Towers of Hanoi described the well-known recursive definition and implementation of the Towers of Hanoi problem. This post is an extension presenting the same problem iteratively by simulating the recursion stack. This implementation will … Continue reading
Recursive Solution to Towers of Hanoi
Towers of Hanoi is a mathematical game or a puzzle in which there are three pegs, and some disks (originally 8) of different radius placed on top of one another such that no larger disk is placed on a smaller … Continue reading
Allocating multidimentional array at runtime in C
Arrays in C language are static in nature, and cannot be resized at runtime. The effect of runtime allocation of an array could be achieved by hierarchically allocating blocks of memory at runtime. Below we discuss the mechanism to allocate … Continue reading
Simpson’s 1/3rd Rule
A brief introduction to the Simpson’s 1/3rd rule and a uniform interval Composite Simpson’s 1/3rd Rule implementation.
Trapezoidal Rule
A brief introduction to the Trapezoidal rule and a uniform interval Composite Trapezoidal Rule implementation.
Balanced Parenthesis Check
Objective To check if an entered string containing nested parenthesis are balanced and valid. This write-up presents a function with which a string is checked for balanced parenthesis.
GCD of n integers
Greatest Common Divisor Let a and b be integers, not both zero. The largest integer d such that d exactly divides both a and b is called the greatest common divisor of a and b . The GCD of the … Continue reading





