Search:

Type: Posts; User: Faha

Search: Search took 0.11 seconds.

  1. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    2,866

    Re: Data Structure

    how can i write this code using stacks "java" ?
  2. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    2,866

    Re: Data Structure

    /* Recursive Function*/
    gcd(int n,int m)
    { if(m<=n && n%m == 0)
    return m;
    if(n < m)
    return gcd(m,n);
    else
    return gcd(m,n%m);
    }
  3. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    2,866

    Re: Data Structure

    public static void main(String[] args)
    {
    String input = "";
    String str = "";
    Scanner scan = new Scanner(System.in);
    System.out.print("Enter a string: ");
    while(true)
    {

    str =...
  4. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    2,866

    Re: Data Structure

    i dono how to start or what to do for first step?
    can u answer this Q?
  5. Thread: Data Structure

    by Faha
    Replies
    9
    Views
    2,866

    Data Structure

    1-,

    Hi all,
    can anyone help me with this? i need to know the java progrmmae for it ..





    _write a program that determines whether an input string is palindrome;that is whether it can be...
Results 1 to 5 of 5