Given a string of length n, print all permutation of the given string. Repetition of characters is allowed
Case 1
Input: A
output: A
Case...
Home
»
Archives for July 2015
What is Websocket? How Websocket works? Program on updating total count of connected Clients.

What is Websocket?
Websocket is bi-directional communication protocol over web that helps
client to server and server to client communication on single TCP
connection and on same port.
What is the use of Websocket and how it is helpful? How...
TRIE datastructure explanation and simplified dictionary implementation in Java.
in
Datastructure
- on 02:03:00
- No comments

What is TRIE datastructure?
Trie is the data structure very similar to Binary Tree.
Trie datastructure stores the data in particular fashion, so that retrieval of
data became much faster and helps in performance.
The name "TRIE" is coined from...
How to enable or allow remote access to PostgreSQL database server.
in
Database,
Miscellaneous
- on 00:02:00
- No comments

For enabling remote access to PostgreSQL database server,
There are 2 main PostgreSQL configuration files that need to be changed to allow remote connections.
1. postgresql.conf
2. pg_hba.conf
postgresql.conf
It will be located in PostgreSQL...
Convert Integer to Roman numeral in Java
in
Algorithm,
Datastructure,
Java
- on 22:26:00
- No comments

Converting Integers to Roman Numerals equivalent in Java
In this post we will see how to convert Integer to Roman numeral in Java. We will also look into Java program to convert integer to roman numerals.
Let's understand what is the Input and the...
Find the element that appears once in a sorted array, where all elements appear twice(one after one) except one element appears only once.
in
Algorithm,
Array,
Datastructure,
Java
- on 07:56:00
- No comments
Find the element that appears only once in a sorted array.
Given a sorted array in which all elements appear twice (one after one) and one element appears only once.
Find that element in O(Log n) complexity.
Input: arr[] = {1, 1, 2, 2, 3, 4, 4}
Output:...
Using JQuery Datatable with AngularJS
in
AngularJS
- on 11:23:00
- No comments

Datatables - AngularJS
Using JQuery Datatable with AngularJS
Datatables
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible
tool for rendering data in tables with features like,
Searching record/row in table.
Sorting...