Find Jobs
Hire Freelancers

small project in java

$10-30 USD

Inställt
Publicerad över fem år sedan

$10-30 USD

Betalning vid leverans
• multiEnqueue(Type els[], int k, int l): requires: None. input: Type els[], int k. results: The first k elements of the array els are added to the queue at its tail one at a time until the queue is full or all k elements are added. The output l is set to the number of elements that have been added. output: l. • multiServe(Type els[], int k, int l): requires: None. input: Type els[], int k. results: The first k elements of the queue are served and stored in els starting at position 0 until the queue is empty or all k elements are served. The output l is set to the number of elements that have been served. output: l. ------------------------------- • multiPush(Type els[], int k, int l): requires: None. input: Type els[], int k. results: The first k elements of the array els are pushed to the stack one at a time until the stack is full or all k elements are added. The output l is set to the number of elements that have been pushed. output: l. • multiPop(Type els[], int k, int l): requires: None. input: Type els[], int k. results: The top k elements of the stack are popped and stored in els starting at position 0 until the stack is empty or all k elements are popped. The output l is set to the number of elements that have been popped. output: l. --------------------------- Write a class called SimpleEncrypt. In this class, you should implement the following static methods: (a) public static Stack<Queue<Character>> readSentences(String fileName): A method that reads sentences from a text file fileName separated by new line and builds a stack of queues, where each sentence is represented by one Queue of characters. The first sentence in the file must be at the top of the stack. The method must catch any exceptions and return null if any. Sample input: ABCDEFGHIJKLMN I love CSC212 The fat cat sat on the mat curiosity killed the cat (b) public static void encrypt(Queue<Character> q, int k): A method that reverses each block of k characters in the sentence represented by q. Assume k ≥ 1. Example 1. Here are two examples: • If q = ABCDEFGHIJKLMN, then by calling encrypt(q, 4), we obtain: DCBAHGFELKJINM. • If q = I love CSC212, then by calling encrypt(q, 4), we obtain: ol IC ev12CS2. Hint: use the new methods added to Queue and Stack. (c) public static void decrypt(Queue<Character> q, int k): A method that decrypts (removes the encryption) the sentence represented by q. Assume k ≥ 1. Example 2. Here are two examples: • If q = DCBAHGFELKJINM, then by calling decrypt(q, 4), we obtain: ABCDEFGHIJKLMN. • If q = ol IC ev12CS2, then by calling decrypt(q, 4), we obtain: I love CSC212. (d) public static void encrypt(Stack<Queue<Character>> st, int k): A method that encrypts all sentences in the stack st. The order of the sentences within the stack must not change. Assume k ≥ 1. (e) public static void decrypt(Stack<Queue<Character>> st, int k): A method that decrypts all sentences in the stack st. The order of the sentences within the stack must not change. Assume k ≥ 1.
Project ID: 18084814

Om projektet

18 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
18 frilansar lägger i genomsnitt anbud på $35 USD för detta uppdrag
Använd avatar
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 400 projects and over 700 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$30 USD Om 1 dag
4,9 (414 omdömen)
6,6
6,6
Använd avatar
Hi i will do this project within 18 hrs of time. i am a java and data structure expert.
$30 USD Om 1 dag
5,0 (293 omdömen)
6,7
6,7
Använd avatar
Hello. How are you . I have read I have strong knowledge in Data structures, Algorithms Design, Computer Architecture, And I'm expert in Java, etc. I'm interested in this project. Please send me a message so that we can discuss more. Then I'll be happy. I wait for your good reply. Thanks.
$25 USD Om 1 dag
4,9 (173 omdömen)
6,5
6,5
Använd avatar
Hy I am software engineer and have delivered many projects. You can share the description of your java project with me. Thanks
$50 USD Om 10 dagar
5,0 (61 omdömen)
6,0
6,0
Använd avatar
HI..I am quite familiar and experienced in core Java programming along with data structures of Stack, Queue and can help you complete the project as per given requirements.
$40 USD Om 2 dagar
4,9 (181 omdömen)
6,3
6,3
Använd avatar
Hi I have great experience in java development and I can handle your project according to your requirements Please inbox me for more details. Thanks
$30 USD Om 1 dag
4,9 (57 omdömen)
5,3
5,3
Använd avatar
Hello, I have More than Five years (5+ years) of experience in Professional Software Development. Seeking for a challenging position as a Java Developer with the strong working experience in programming, designing of Spring, Hibernate, CORE JAVA / J2EE application,Swing base desktop application. Develop applications using Spring MVC using Annotations, Spring Boot.
$50 USD Om 1 dag
5,0 (40 omdömen)
5,0
5,0
Använd avatar
Hello, I have carefully read your project description and i can deliver this for you for the price of $50. I am an Msc computer science student and a java expert with 4 years experience. My reviews will give you some insights to my expetise and competence in delivery of java tasks in a limited time. I can deliver in 1 day max i await a message from you . Thanks
$50 USD Om 1 dag
5,0 (33 omdömen)
4,3
4,3
Använd avatar
Hello I am Software Engineer and expert in java programming so you can consider me for this Project Thanks I will wait for your quick Response i did this same task in last week so i can provide you best solution
$25 USD Om 1 dag
4,8 (15 omdömen)
4,2
4,2
Använd avatar
Hi! My name is Andrei. I worked by now 4 years as a Software Developer, 2 years at a company in London working at a web crawler in ASP.NET MVC - C# and 2 years at a company in Romania working in C# or Java, depending on the project.I have enough experience, and knowledge to assure you that I can develop your code in a few days meeting all of your needs. Looking forward hearing from you! All the best!
$30 USD Om 1 dag
5,0 (7 omdömen)
3,8
3,8
Använd avatar
hi i read all the instruction please share more detail i did more than five project i will provide 5 star rating work thanks
$66 USD Om 1 dag
4,4 (25 omdömen)
3,9
3,9
Använd avatar
Dear client. I've read your project description carefully and very interested. I can do it in 1 hour after awarded. Let's discuss over chat and get started. Waiting your reply. Best regards.
$30 USD Om 0 dag
3,9 (17 omdömen)
3,9
3,9
Använd avatar
Hi, I can help you wih this project real fast and with a nice code. I am an expert in Java and have worked on Stacks and Queues and encryption before.
$40 USD Om 1 dag
4,7 (5 omdömen)
2,7
2,7
Använd avatar
yes i will do it dear
$30 USD Om 2 dagar
5,0 (2 omdömen)
1,6
1,6
Använd avatar
i have a brilliant knowledge of this language(java). whatever your requirements are, i can code it for you in no time!
$25 USD Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
3 years of experience with application development technologies. Worked before with java, python and php and other web development technologies. Experience with data encryption and decryption in java.
$30 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I can resolve your requirements. Relevant Skills and Experience I have 2 experience years with core java.
$30 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I have 19 years experience about Java and processing data. I like that my code created is bulletproof. I found this project very interesting to do. I will love to work on it.
$25 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för SAUDI ARABIA
Riyadh, Saudi Arabia
3,0
1
Medlem sedan nov. 2, 2018

Kundverifikation

Andra uppdrag från denna kund

Multiprogramming OS Simulation
$10-30 USD
Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.