Find Jobs
Hire Freelancers

Debugging Stack and Queue Java Code

$10-30 USD

Completed
Posted 2 months ago

$10-30 USD

Paid on delivery
I need help with debugging my stack and queue operations that have logical errors. Key Tasks: - Debugging the code - Correcting the push, pop, and peek operations Ideal Skills: - Strong knowledge in Java - Experience in debugging Java code - Familiarity with stack and queue operations make the Code posted below in working order. I am using Eclipse to write these two data structures. and i want to write a short test to ensure that your stack and queue work as expected.i need the working files as .java files public class MyStack<T> { private static class StackNode<T> { private T data; private StackNode<T> next; public StackNode(T data) { [login to view URL] = data; } } private StackNode<T> top; public T pop() { if (top == null) throw new EmptystackException(); T item = [login to view URL]; } top= [login to view URL]; return item; public void push(T item) { } StackNode<T> t = new StackNode<T>(item); [login to view URL] = top; top= t; public T peek() { if (top== null) throw new EmptyStackException(); return [login to view URL]; } } public boolean isEmpty() { return top== null; } A queue can also be implemented with a linked list. In fact, they are essentially the same thing, as long as items are added and removed from opposite sides. public class MyQueue<T> { private static class QueueNode<T> { private T data; private QueueNode<T> next; public QueueNode(T data) { [login to view URL] = data; } } private QueueNode<T> first; private QueueNode<T> last; public void add(T item) { } } QueueNode<T> t = new QueueNode<T>(item); if (last != null) { last.next= t; } last = t; if (first== null) { first= last; } public T remove() { } if (first== null) throw new NoSuchElementException(); T data= [login to view URL]; first= [login to view URL]; if (first == null) { last = null; } return data; public T peek() { } if (first== null) throw new NoSuchElementException(); return [login to view URL]; public boolean isEmpty() { return first== null; }
Project ID: 37867530

About the project

8 proposals
Remote project
Active 2 mos ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there yes I am expert in JAVA and I can help you out for sure Kindly send me a message we'll discuss further Looking forward to hear you Thank you
$20 USD in 1 day
4.9 (171 reviews)
5.8
5.8
8 freelancers are bidding on average $21 USD for this job
User Avatar
Hi, Greetings from Zuhair Muhammad. I'm interested in doing your work so finally would like to start work now. I'm ready for an interview and feel free if you have any queries and contact me anytime 24/7 will be available here. I look forward to hearing from you. Thanks for your consideration. Regards, Zuhair Muhammad.
$30 USD in 1 day
4.9 (59 reviews)
6.0
6.0
User Avatar
Hi, Frayad G.! I have worked with similar projects so that I can provide you with a satisfied result. Having confirmed the job posting "Debugging Stack and Queue Java Code", I truly feel that you're looking for ambitious, creative and nice people who enjoy JavaScript and Java. I am fully available to get started on your project immediately and you will find it interesting to discuss the project details. Regards Nina
$25 USD in 4 days
5.0 (2 reviews)
3.2
3.2
User Avatar
How are you today? I have ✅ Full Experiences in java data structure and algorithms such as stack, queue and so on ✅. I read your requirement carefully and I can do your work perfectly. And I can start Your work right now. Hope to discuss with you soon. Thanks for reading my words.
$20 USD in 1 day
5.0 (2 reviews)
2.7
2.7
User Avatar
As an experienced full-stack developer with a strong command of both Java and JavaScript, I'm confident that I can deliver the meticulous debugging you need for your stack and queue operations. Debugging is not just about finding and fixing known errors, but also having the ability to anticipate potential errors. This approach defines my work. My deep understanding of Java combined with my fondness for troubleshooting will ensure I can identify and rectify any logical issues currently in your code. What sets me apart is my creative problem-solving. My familiarity with stack and queue operations has allowed me to successfully debug similar logical errors in the past. Coupled with my passion for Java and its nuances, I offer a keen eye for spotting even the most subtle bugs, guaranteeing that once we're through, your stack and queue functionality will work flawlessly. To ensure the quality of my work on your project, I'll write a short test script utilizing Eclipse to thoroughly verify the integrity of your stack and queue classes. As required, I will deliver the final corrected .java files along with this test script to validate their efficacy. Hire me today and let's bring your stack and queue operations back in line!
$10 USD in 1 day
5.0 (1 review)
1.6
1.6
User Avatar
☛Full Experiences in Data Structures and Algorithms with Java Programming. ⚡️I am very confident to complete your project perfectly. Since I am new here, then my job review is not sufficient, but you don’t need to worry! ⚡️I can guarantee the quality of the job and deliver the result on time. I hope we will discuss in more detail via chat. Best regards!
$20 USD in 1 day
5.0 (1 review)
1.4
1.4
User Avatar
Dear client I am a Software Expert with 9 years of experience in working with all types of applications. Utilizing my proficiency in both, Front-End and Back-End, I develop scalably, optimized, and secure software. Get in touch today for a free, no-obligation phone consultation. Let's see how we can take your project to the next level, together! Best regards. Jonathan
$20 USD in 7 days
5.0 (1 review)
0.6
0.6
User Avatar
Dear client. I have read your project carefully. I have experience in java and fix your project in one day. Please discuss more.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Las Vegas, United States
5.0
8
Payment method verified
Member since Mar 18, 2023

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.