Closed

Necesito ayuda en programacion en java, es urgente - repost

This project received 8 bids from talented freelancers with an average bid price of $2238 MXN.

Get free quotes for a project like this
Employer working
Project Budget
$450 - $3750 MXN
Total Bids
8
Project Description

Necesito ayuda con un proyecto de java donde incluye pilas, colas y estructuras de datos, no es tan dificil, solo que si necesito que sea urgente y con dos horas de disponibilidad de tiempo
es algo como q me den un problema y tenga q crear algo asi
public class MainEstructurasEnlazadas {
public static boolean identicNodes(Node a1, Node a2 ){
boolean flag = true;
while(flag && a1 != null && a2 != null){
if([url removed, login to view]().getClass().getName().equals([url removed, login to view]().getClass().getName())){
if([url removed, login to view]().equals([url removed, login to view]())){
a1 = [url removed, login to view]();
a2 = [url removed, login to view]();
}
else{
flag = false;
}
}
else{
flag = false;
}
}
if((a1 != null && a2 == null) || (a1 == null && a2 != null))
flag = false;
return flag;
}
public static boolean identicNodesR(Node a1, Node a2){
return identicNodesR (a1, a2, false);
}
private static boolean identicNodesR (Node a1, Node a2, boolean ans){
if(a1 == null || a2 == null){
return ans;
}
else{
if([url removed, login to view]().getClass().getName().equals([url removed, login to view]().getClass().getName()) && [url removed, login to view]().equals([url removed, login to view]())){

if(([url removed, login to view]() != null && [url removed, login to view]() == null) || ([url removed, login to view]() == null && [url removed, login to view]() != null))
return false;
return identicNodesR([url removed, login to view](), [url removed, login to view](), true);
}
else{
return false;
}
}

}

public static boolean identicStacks(StackADT c1, StackADT c2){

boolean flag = true;

ArrayStack aux1= new ArrayStack ();
ArrayStack aux2= new ArrayStack ();

if(![url removed, login to view]() && ![url removed, login to view]()){
while(flag && ![url removed, login to view]() && ![url removed, login to view]()){
if([url removed, login to view]().getClass().getName().equals([url removed, login to view]().getClass().getName()) && [url removed, login to view]().equals([url removed, login to view]())){
[url removed, login to view]([url removed, login to view]());
[url removed, login to view]([url removed, login to view]());
}
else
flag = false;
}

while(![url removed, login to view]())
[url removed, login to view]([url removed, login to view]());

while(![url removed, login to view]())
[url removed, login to view]([url removed, login to view]());

while(![url removed, login to view]())
[url removed, login to view]([url removed, login to view]());

while(![url removed, login to view]())
[url removed, login to view]([url removed, login to view]());

}
else
flag = false;



return flag;

}

public static void print(Node a){
if(a == null)
[url removed, login to view]("empty");
else{
while(a != null){
[url removed, login to view]([url removed, login to view]());
a = [url removed, login to view]();
}
}
}

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online