Write a program to print all permutations of a given string with repetition. (Repetition of characters is allowed).

Write a program to print all permutations of a given string with repetition. (Repetition of characters is allowed).
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...

What is Websocket? How Websocket works? Program on updating total count of connected Clients.

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.

TRIE datastructure explanation and simplified dictionary implementation in Java.
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.

How to enable or allow remote access to PostgreSQL database server.
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

Convert Integer to Roman numeral in Java
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.

Find the element that appears once in a sorted array, where all elements appear twice(one after one) except one element appears only once.
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

Using JQuery Datatable with AngularJS
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...
Page 1 of 2812345...28Next »