Displaying 1  50 of about 21749 Related Tutorials.

2. Given a string and a number ?n?, find the ?n?th distinct repeating character.
2. Given a string and a number ?n?, find the ?n?th distinct repeating character.
Given a string and a number ?n?, find the ?n?th distinct repeating character.
For example,
Input:
Abracadabra, 1
Abracadabra, 2
Abracadabra, 3 
plz give me program to this: Given a string and a number ?n?, find the ?n?th distinct repeating character.
plz give me program to this: Given a string and a number ?n?, find the ?n?th distinct repeating character.
Given a string and a number ?n?, find the ?n?th distinct repeating character.
For example,
Input:
Abracadabra, 1 
java program
java program Given a string and a number n, find the n th distinct repeating character 

java
java Given a string and a number ?n?, find the ?n?th distinct repeating character.
For example,
Input:
Abracadabra, 1
Abracadabra, 2
Abracadabra, 3
Abracadabra, 4
Output:
a
b
r
null 
Replace Character in String
in a given
string.
To replace a character with the given character in sting first... find then
replace the "oldChar" with newChar (character name to replace...;String before
repalce\n"+string);
while(i< 

Write a program to find a factorial in any given number
Write a program to find a factorial in any given number
This programming tutorial will teach you how to write a factorial of
any given number... number less than or equal to n. For example
4! = 4 * 3 *2 * 1 
Find out the prime number
to find
out whether a given number is prime or not. Here we have used the 'for loop'
statement and given the required condition for a prime number. As we know...
Find out the prime number

J2ME count character into string
J2ME count character into string i am new in J2ME, my problem is how to count character into number, i had been research google for almost 2 days... Next cmd button, next pages will display ans:10 character
erm...these 2 days 
Hibernate Criteria Distinct
Hibernate Criteria Distinct
The Hibernate Criteria Distinct API search and display the distinct result
Consider the following SQL
SELECT DISTINCT name FROM student WHERE roll_no=2;
The above SQL will return the distinct name 
Primary number
);
System.out.print("Enter N:");
int n=input.nextInt();
find(n);
}
static void find(int n){
int i=0,count=2;
if(n==1)
{
return;
}
if(n==2)
{
return 
Primary number
);
System.out.print("Enter N:");
int n=input.nextInt();
find(n);
}
static void find(int n){
int i=0,count=2;
if(n==1)
{
return;
}
if(n==2)
{
return 
A program to find the sum of odd number
A program to find the sum of odd number
In this section you will learn how to find the sum of odd number in the
series up to the given number in java...=sin.nextInt();
for(int i=1;i<n;i++)
{
if(i%2!=0)
sum=sum+i 
Find number of words begin with the specified character
Count number of words begin with the specified character
In this section, you... character from the string. To do this, we have allowed the user to input a sentence or a string and a character to search. Using StringTokenizer class, we have break 
Hibernate Criteria Count Distinct
Hibernate Criteria Count Distinct
The Hibernate Criteria count distinct is used to count the number of distinct
records in a table. Following a way to use...=criteria.list();
An Example of counting distinct record in an application 
finding the eigenvalues and eigenvector of n*n matrix in java
finding the eigenvalues and eigenvector of n*n matrix in java Here... {
public static void main(String[] args) {
double[][] A = new double... icmax = 10; // the maximum iterations number
int[] colRowOfElMax = new int[size 
Repeating Rows And Column
repeating rows and column
...; and
then by use of setRepeatingRowsAndColumns() method we create the repeating rows...
HSSFWorkbook.
In this example we are going to create a sheet and set repeating 
Count distinct value in HQL.
?
count(distinct fieldName) returns number of distinct value... = sessionFactory.openSession();
String countHql = "Select count(distinct salary..._ from employee employee0_
Number of Employee having distinct salary : 3 
count the repeated character in one string
count the repeated character in one string to find the how character occurrence in one String (for example the string is java means there is 2... java.util.*;
class CountCharacters {
public static void main(String[] args) throws 
find the given input is integer or string
find the given input is integer or string simple coding for to check the given input value is integer or no.If the given value is integer display... CheckValue
{
public boolean checkIfNumber(String in) {
try 
find all unique character in string using java
find all unique character in string using java example: hello how are you. output should be waryu 
find the first character is vowel or not
find the first character is vowel or not hi friend, can u plz send me javascript code for find the wether the first character is a vowel or not. 2) check wether the last character is same as the first character or not
3) check 
how to find subarray from given large 2d array of arbritary dimension
how to find subarray from given large 2d array of arbritary dimension ... java.util.Scanner;
public class SubMatrix {
public static void main(String... Scanner(file).useDelimiter("\n");
while (scanner.hasNext 
Prime Number in Java
between 1 to given number. First
of all we have to define a class "... and
processing a string of character. Now use the ParseInt method for converting.... And another loop will start and
divide it from 2 to less than those number 
Determining the Character Boundaries in a Unicode String
Determining the Character Boundaries in a Unicode String
In this section, you will learn how to determine the character
boundaries in a string.
By determining the character boundaries, you will be able to break the string 
Find Character form String example
() method to find out
the character in the string with the help of index position...
.style1 {
fontsize: medium;
}
Find characters from String example in Action Script3:
String maintain a index position for every character 
string
string How to count a particular character in a given sentence and also displaying that contain word?
Like I want to find "a" in the string... and a character. It then count the occurrence of that character in the string and display 
Writes the given character into buffer at the given index.
Writes the given character into buffer at the given index.
In this tutorial you will see how to write the given character into buffer at the given index. The put (int index, char c) allow to write a character
at particular index 
servlet code for finding the table for given number
servlet code for finding the table for given number servlet code for finding the table for given number?
Here is a an example...="../TableServlet">
<table>
<tr><td>Enter a number to find its table:< 
PHP get character from String
PHP Get Character From String
To get sub string from a String we can use substr() method. Structure of this method is :
string substr (string $var..., 2);
$d = substr($string, 50);
$e = substr($string, 5, 4);
$f = substr 
Prime Number in Java
to instantiate a
changeable object in order to store and process a string of character... number: ");
for (i=1; i < num; i++ ){
int j;
for (j=2; j < i; j...Prime Number in Java
In this Java tutorial , you will learn how to write 
Find consecutive numbers whose sum is equal to input number.
natural number. The code then takes the number N given by the user and finds all...Find consecutive numbers whose sum is equal to input number.
In this section... numbers which sum up to given number.
Here is the code:
import java.util. 
how to find inverse of n*n 2d array in java
how to find inverse of n*n 2d array in java I reached upto code of printing the matrix as:
Assume that matrix is square matrix where row=column
code is:
public class ReadContents{
public static void main(String args 
how to find largest number?  Java Interview Questions
how to find largest number? this is my java coding:
import...);
}
}
i don't know how to add code to find the largest number..
please help... want to find the greater number which user enter on the console?
Thanks 
STRUTS 2 Could not find action or result
STRUTS 2 Could not find action or result hiii..i am new to struts 2... on my log:
WARNING: Could not find action or result
There is no Action... where application_id in (select distinct application_id from applicationmenu 
Java I/O Character Streams
Java I/O Character Streams
In this section we will discuss the I/O Character Streams.
Character streams works with the characters rather than the byte. In Java
characters are stored by following the Unicode (allows a unique number 
In data structure in java how to parse the given string and counts the member of character that match the given data?
In data structure in java how to parse the given string and counts the member of character that match the given data? Design a parser that parse the given string and counts the member of character that match the given data.using 
Write a method which will remove any given character from a string?
Write a method which will remove any given character from a string?
In this example we will describe remove any given character from a string....
Example of remove any given character from a string 
program
program Given a string and a number Ã¢â?¬Ë?nÃ¢â?¬â?¢, find the Ã¢â?¬Ë?nÃ¢â?¬â?¢th distinct repeating character 
Find String Values of Cell Using POI
Find String Values of
Cell Using POI
In this program we are going to find the String... 2 = coding is completed
String table value 3 = compressedUnicode.java
String 
how to find the given date is sunday
how to find the given date is sunday how to find the given date... java.util.*;
import java.text.*;
class CheckDay{
public static void main(String...();
SimpleDateFormat f = new SimpleDateFormat("EEEE");
String day 
Find prime factors of non prime number
Find prime factors of non prime number
In this section, you will learn how to find the prime factors of the non prime number. Here we have prompted the user... displayed a simple message and if the number is not a prime number we have find all 
is this programm efficient to find the day of the given date . can it be more normalized ?
is this programm efficient to find the day of the given date . can it be more...] ;
strcpy(week[0], "Sunday") ;
strcpy(week[1], "Monday") ;
strcpy(week[2...+=2;
}
else
ordi++;
}
printf("%d 
how to print the content of file in 2d matrix having same dimension as given in file(n*m).
how to print the content of file in 2d matrix having same dimension as given in file(n*m). here is code:
import java.io.File;
import... java.util.Scanner;
public class mat1 {
public static void main(String[] args) throws 
Find Second Largest Number from an Array
Find Second Largest Number from an Array
This section illustrates you how to find the second largest number from an array. For this purpose, we have allowed... among them. Pulls the largest number out from the array and again check 
Write a program to calculate factorial of any given number
given number
... program
to calculate factorial of any given number. First of all define a class... object for storing and processing a string of
character. The strings length 
Java Math.pow() Example
example. In this example
you can see that how can we find the power of a number in Java. Power means the
exponent of a number i.e. n^p (n raised to the power... be calculated as 2*2*2.
Example
Here an example is being given which 
this code gives addition of 2 numbers in j2me..but the code is not executing ..can u pls find out the error...??
");
String n=t1.getString();
String cd=t2.getString();
int n1...this code gives addition of 2 numbers in j2me..but the code is not executing ..can u pls find out the error...?? import javax.microedition.midlet. 
MySQL String Function
. This function returns a String that is representation of number N. It
convert... a value in the range of 1 to N. This function find the
String str... is a longlon(BIGINT) number. But if
N_or_S is a string, then it returns 
Finding a given word using regular expression
a given word from the String and also the no of times the word exists using regular... of times Tim is: 2
Tim Start at the index: 39
Number of times Tim is: 3
Tim Start...
Finding a given word using regular expression

Get Character from String
Get Character from String
....
Description of the code:
1. First declare and initialize string.
2. use method toCharArray() to convert string to character array.
3. Retrieve character from 