Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Simplest Codings programming Blog  > 

Dijkstra Algorithm Implementation In Java
2023-12-20 17:19
PurposeFinds the shortest paths from a single source vertex to all other vertices in a weighted graph.Commonly used in GPS navigation, network routing, and logistics planning.Key C… Read More
Knapsack Problem Implementation In Java
2023-12-20 17:02
Imagine a hiker's backpack (the knapsack) with limited space (capacity).They have a collection of items, each with a value (usefulness) and a weight (space it occupies).The goal is to fill t… Read More
Longest Common Subsequence In Java
2023-12-20 16:21
Longest Common Subsequence (LCS)It's the longest sequence of characters that is present in the same relative order within two or more strings.It doesn't have to be a contiguous substring; th… Read More
2016-10-12 17:12
A Ternary Search Tree is a trie which leverages concepts of Binary Search Tree as well. A Ternary Search Tree is as memory efficient as Binary Search Trees and time efficient as a Trie. It… Read More
2016-03-13 11:41
To implement the kind of storage which stores strings as the search keys , there is a need to have special data structures which can store the strings efficiently and the searching of data b… Read More
2015-04-01 10:22
Here is a simple example to show how the IPC semaphores work. In this example two processes (parent and child) are communicating between each other using semaphores. Each process access the… Read More
2014-11-05 09:28
A graph is a collection of nodes and edges. These nodes are connected by links(edges). These edges may be directed or undirected. Moreover these edges can have weights associated with them… Read More
2014-11-05 09:04
Facade means the exterior of any object in general. Facade Design Pattern provides similar functionality as well. It provides a simple interface to a complex system. Just as we can not tell… Read More
2014-10-21 12:07
What is SOAP?SOAP(Simple Object Access Protocol) is a great way to exchange information over the network. Normally it is used with application protocols like HTTP, SMTP etc. The envelope con… Read More
2014-04-29 14:30
This is a simple program to check the access of a file (whether it is readable , writable or executable or not). It uses the standard linux system call access for this purpose. //Filename :… Read More
2014-04-29 14:28
    The SCTP packet format is shown below: An SCTP packet is composed of a common header and chunks. A chunk contains either control information or user data. Multip… Read More
2014-04-29 14:28
TCP segments are sent as internet datagrams. The Internet Protocol header carries several information fields, including the source and destination host addresses. A TCP header follows the… Read More
2014-04-29 14:26
This is a simple implementation of per thread logging in unix/linux. It creates separate log files per thread and independently writes log to each of the thread specific log files. #include… Read More
2014-04-29 10:40
Using memory mapped file two processes can both open the same file and both read and write from it, thus sharing the information.It is easier to map a section of the file to memory, and get… Read More
2014-04-29 10:37
Simple implementation of vector writes in unix. This example uses writev system call to write into a file. The writev call enables you to write multiple discontiguous regions of memory to a… Read More
2014-04-29 10:00
A simple implementation of a packet sniffer in C on linux platform using the libpcap library. This packet sniffer currently sniffs IP , TCP , ICMP and UDP packets. It can be modified to any… Read More
2013-10-01 12:53
Protocol buffers (that's what protobuf means :)) are a means to serialize structured data. Now you may be wondering what this 'serialize' means. To be brief : Serialization is a process of… Read More
2013-10-01 12:52
Most of the beginners would wonder how the known services work. Well this post will give an overview of one of the well-written services in C , the FTP application. I thought that there is n… Read More
2013-08-12 10:54
Have you seen the movie 'Resident Evil'? Then you probably know what a Zombie is ! Just like when the people die and still are able to walk and talk , in short way their last rituals were n… Read More
2013-08-12 10:52
xdotool is a fake keyboard/mouse input tool for linux which is freely available on the internet. So whatever you keep typing on the keyboard or kept clicking using the mouse , you can do it… Read More
2012-02-14 06:10
Due to lack of time, I am not being able to write more posts. If anyone feels that they have some good topic to write about, please write to me and after moderation i can publish it on the b… Read More
2010-08-23 07:00
Simplest Codings: Hexadecimal to Integer Conversion in C A simple implementation of converter which converts hexadecimal string to an integer Read More
2010-08-20 07:00
Simplest Codings: IPC Shared Memory Implementation in C A simple Implementation of Shared Memory in CShared Memory is a type of IPC where the two processes share same memory chunk and use it… Read More
2010-08-17 07:00
Simplest Codings: Secure Server Client using OpenSSL in C Here's an implementation of Secure Server Client using openssl. Simplest Codings: Custom strncat function in C This is a simple impl… Read More
2010-08-15 07:00
Simplest Codings: Adapter Design Pattern in C++ Adapter Design pattern converts the interface of a class into another interface that clients expect. It lets classes work together which is no… Read More
2010-08-14 07:00
Simplest Codings: UDP Server Client Implementation in C for Here's a simple UDP Server Client Implementation in C for Unix/Linux.As UDP is a connection-less protocol, it is not reliable or w… Read More
2010-08-06 07:00
Simplest Codings: Custom String Tokenizer in C A simple implementation of String Tokenizer in C. This program tokenizes a string on the basis of a delimiter. Simplest Codings: Find if a subs… Read More
2010-08-05 07:00
Simplest Codings: Function Pointers in C Generally functions are called statically , i.e. it is already decided at compile time itself that which particular function would be called. But we… Read More

Share the post

Simplest Codings

×

Subscribe to Simplest Codings

Get updates delivered right to your inbox!

Thank you for your subscription

×