java.achchuthan.org
Find the MD5 hash value of a string in java | Java Examples
http://www.java.achchuthan.org/2014/03/find-md5-hash-value-of-string-in-java.html
Find the MD5 hash value of a string in java. Posted By: Achchuthan Yogarajah - 6:59 PM. Here is the example is show quick way to calculate the MD5 hash of a string. I know things with Java have to be well structured and since MD5 is a hashing algorithm it is fairly logical to be in the security package. On the other hand i think a quick md5 method should be in the String class but that’s just my humble oppinion. Anyways here is how it’s done the Java way. Source code of MD5 Generator. Area and the circum...
java.achchuthan.org
06/01/2013 - 07/01/2013 | Java Examples
http://www.java.achchuthan.org/2013_06_01_archive.html
Addition of 2D Array. Subtraction of 2D Array. Sorting of 2D Array. 2D Array to 1D Array. Divide and Conquer Min-Max. Array of link List. Decimal to Binary using Stack. Decimal to Hexadecimal using Stack. Decimal to Octal using Stack. Infix to Postfix using Stack. National Identity Card(NIC) Print Date of Birth. Sort Numbers Using File Reader. Find Day of Date of Birth. Random Numbers and Storing. Surface Area of Tetrahedron. Calculate Yesterday and Tomorrow Date. Data structure and Algorithm.
java.achchuthan.org
02/01/2012 - 03/01/2012 | Java Examples
http://www.java.achchuthan.org/2012_02_01_archive.html
Addition of 2D Array. Subtraction of 2D Array. Sorting of 2D Array. 2D Array to 1D Array. Divide and Conquer Min-Max. Array of link List. Decimal to Binary using Stack. Decimal to Hexadecimal using Stack. Decimal to Octal using Stack. Infix to Postfix using Stack. National Identity Card(NIC) Print Date of Birth. Sort Numbers Using File Reader. Find Day of Date of Birth. Random Numbers and Storing. Surface Area of Tetrahedron. Calculate Yesterday and Tomorrow Date. Data structure and Algorithm. The FileRe...
java.achchuthan.org
Convert Decimal to octal using stack in java | Java Examples
http://www.java.achchuthan.org/2012/03/convert-decimal-to-octal-using-stack-in.html
Convert Decimal to octal using stack in java. Posted By: Java Examples - 1:04 PM. You all are aware of Stacks. It performs two basic operations push and pop. The push operation adds an element to the top of the list, or initializing the stack if it is empty and the pop operation removes an item from the top of the list. Using these operations, we have converted a decimal number into Octal. Divide the decimal number by 8. Treat the division as an integer division. Write down the remainder (in Octal).
java.achchuthan.org
Find all anagrams of a word in Java | Java Examples
http://www.java.achchuthan.org/2013/06/find-all-anagrams-of-word-in-java.html
Find all anagrams of a word in Java. Posted By: Achchuthan Yogarajah - 10:22 PM. Dogs sgod gsod ogsd. Dosg sgdo gsdo ogds. Dsgo sdgo gdso osdg. Dsog sdog gdos osgd. Dgso sodg gods odgs. Dgos sogd gosd odsg. So, when we came up with the permutations of “dogs” above, how did we do it? What were we implicitly thinking? Finding the permutations with recursion. Which letters can we use in a given position? Java version of this program :. Output of this program. BUILD SUCCESSFUL (total time: 1 second). Infix E...
cpp.achchuthan.org
May 2013 | C++ Examples
http://www.cpp.achchuthan.org/2013_05_01_archive.html
Matrix Multiplication in C using (*) Operator Overloading. Transpose a matrix using c program. Matrix Multiplication in C. Upper-Triangular Matrix transform and solving Using Back-Substitution in c. LU Decomposition for solving linear equations in C. Code for Program of Bresenham line drawing algorithm in C Programming. Posted By: Achchuthan Yogarajah - 7:33 AM. If we try out the C implementation of the Bresenham algorithm, we find it has some peculiar properties. 160;is smaller than .
cpp.achchuthan.org
Matrix Multiplication in C++ using (*) Operator Overloading | C++ Examples
http://www.cpp.achchuthan.org/2012/11/matrix-multiplication-in-c-using.html
Matrix Multiplication in C using (*) Operator Overloading. Posted By: Java Examples - 7:07 AM. We will now try to multiply two matrix by using the concept of operator overloading. The described way is very very easy to understand. We will be overloading "*" operator for this purpose. Although this can be done by any binary operator. We will start with a basic class Matrix. In this example we will take a 3x3 matrix. Class Matrix has a constructor that will initialize its element to 0. Output of program :.
cpp.achchuthan.org
Addition of two matrices using c++ program | C++ Examples
http://www.cpp.achchuthan.org/2013/01/addition-of-two-matrices-using-c-program.html
Addition of two matrices using c program. Posted By: Java Examples - 5:18 AM. This c program add two matrices i.e. compute the sum of two matrices and then print it. Firstly user will be asked to enter the order of matrix ( number of rows and columns ) and then two matrices. For example if the user entered order as 2, 2 i.e. two rows and two columns and matrices as. Then output of the program ( sum of First and Second matrix ) will be. Suppose two matrixes A and B is of same size m X n. A B)ij = Aij Bij.
java.achchuthan.org
03/01/2014 - 04/01/2014 | Java Examples
http://www.java.achchuthan.org/2014_03_01_archive.html
Addition of 2D Array. Subtraction of 2D Array. Sorting of 2D Array. 2D Array to 1D Array. Divide and Conquer Min-Max. Array of link List. Decimal to Binary using Stack. Decimal to Hexadecimal using Stack. Decimal to Octal using Stack. Infix to Postfix using Stack. National Identity Card(NIC) Print Date of Birth. Sort Numbers Using File Reader. Find Day of Date of Birth. Random Numbers and Storing. Surface Area of Tetrahedron. Calculate Yesterday and Tomorrow Date. Data structure and Algorithm. Here is th...
java.achchuthan.org
Basic Queue program in java | Java Examples
http://www.java.achchuthan.org/2013/10/queue.html
Basic Queue program in java. Posted By: Achchuthan Yogarajah - 9:56 PM. The Queue.java program features a Queue class with insert(), remove(), peek(), isFull(), isEmpty(), and size() methods. The main() program creates a queue of five cells, inserts four items, removes three items, and inserts four more. The sixth insertion invokes the wraparound feature. All the items are then removed and displayed. Java version of Queue.java. Output of this program:. BUILD SUCCESSFUL (total time: 5 seconds).
SOCIAL ENGAGEMENT