- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I see about Tim sort on Wikipedia..? But, I can't understand on tim sort code(java). I want Example of Tim sort for learn it. To understand it. Thanks for your help. Tim sort is a less data for learned. |
|
Tim sort, two way bubble sort How it Work? and Two way bubble sort how different nolmal bubble? Thank you for your help ? I doubt about it .. |
|
This code is SkipList sort Min to Max. How to convert this SkipList to sort Max to Min.?? [B]File : SkipList.java[/B] [code]/** Skip List Using integer key */ import static java.lang.Math.*; public class SkipList { private static final double PROB = 0.5D; private static final int MAX_VALUE = Integer.MAX_VALUE; private … |
|
What code to find Max value and min value in this Array... ? Help me Please..? import java.util.Scanner; import java.lang.Math; class Work4_1 { public static void main(String[] args) { Scanner input=new Scanner(System.in); int[] value=new int[10]; int max,min; for(int i=1;i<value.length;i++) { System.out.print("Enter Value : "); value[i]=input.nextInt(); } Math.max(value[i]); <<< It's True...? … |
|
import.java.util.Scanner; <Error This ?> [<identifier> expected] class Work3_2 { public static void main(String[] args) { Scanner input=new Scanner(System.in); String carid; int park,pay; int parked; System.out.print("Enter Car ID : "); carid=input.next(); System.out.print("Enter Parking Times : "); park=input.nextInt(); parked=park*60; if(parked <=15) pay = 0; else if(parked >15 && park <=60) pay=20; else … |