Search:

Type: Posts; User: alloka

Search: Search took 0.25 seconds.

  1. Replies
    15
    Views
    558

    Re: What is the invarient of this code

    yeah at least teach me how to get the invariant ??
  2. Replies
    15
    Views
    558

    Re: What is the invarient of this code

    i asked specificly for the invarint , and just to let you know i searched for it all over the internet and didn't get quite a way for getting the invariant and it wasn't explained to me before so i...
  3. Replies
    15
    Views
    558

    Re: What is the invarient of this code

    and thankx for helping btw , i will not ask here again , i don't ask so others can keep info from me .
  4. Replies
    15
    Views
    558

    Re: What is the invarient of this code

    so is this forum supposed for helping people or telling others what to do ?? , i asked for something and someone come and tell me we will not answer your homework , and btw this isn't a homework .
  5. Replies
    15
    Views
    558

    What is the invarient of this code

    i made this code but i'm stuck in :
    the fundamental operation in the described algorithm? How many operations does it take?

    What is the invariant of this sorting algorithm?
    the code :

    ...
  6. Replies
    5
    Views
    402

    Re: help in sorting the array

    nvmmm i solved it thnkxxx :)
  7. Replies
    5
    Views
    402

    Re: help in sorting the array

    thnkxxx so muchh :) :) but this prints the biggest first i want the smallest , any help ??
  8. Replies
    5
    Views
    402

    help in sorting the array

    i'm trying to sort this array in special method by :
    - Counting the number of smaller elements to find the correct position i.
    If the element is in its correct position, move to the succeeding...
  9. Replies
    3
    Views
    268

    Please help me I'm a beginner

    public class Ass {
    int [] array ;



    public static void swap(int [] x) {

    for (int i = 0 ; i<x.length ; i++){
    int b =0 ;
    for (int j = 0 ; j<x.length ; j++){
Results 1 to 9 of 11