# Search:

Type: Posts; User: Medo Almasry

Page 1 of 2 1

1. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

alright Thanks again :D
2. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

Alright... Will do...
BTW, We've been here before for another question of mine a month ago... just wanted to say am a fan and thanks for everything :D
If you have a blog or a facebook page that I...
3. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

THIS IS HONESTLY DEPRESSING -.-
I MANAGED TO GET THE FLOW CHART AND THE THE ENTIRE PROGRAM DONE IN 2 HOURS AND I CAN'T FIX HOW TO REVERSE A STACK CORRECTLY...
This assignment is driving me nuts......
4. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

public class QueueObj{
private int maxsize;
private int front;
private int rear;
private int nItems;
private Object [] elements;

public QueueObj(int s){
maxsize = s;
front = 0;
5. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

I've used QueueObj and StackObj for a lot of questions and they worked fine so no the problem couldn't possibly be anywhere near them... :D
Thanks for the advice though
6. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

Ok its been hours and the best I came up with is the following... yet I can't find an explanation and I was hoping you could help me with that...
THE POINT OVER HERE IS MAKING A STACK WITH FOR...
7. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

well am sorry my style doesn't appeal to you but the question remains... can u help???
8. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

Ascii Table - ASCII character codes and html, octal, hex and decimal chart conversion
This is what it means....
when the shift is 3 and the letter is z I will start over from the beginning of the...
9. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Re: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

according to my timings over here its 2: 32 AM so don't feel offended if i didn't reply... THANK YOU...
BTW am not asking for a solution am just asking for a hint... I know this is a graded...
10. ## Thread: Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

by Medo Almasry
Replies
16
Views
1,893

### [SOLVED] Double key Caesar Cipher (USING A STACK AND A QUEUE TO SHIFT LETTERS OF A STRING)

Hi there, this is an assignment that I am working on...
850
this is my solution but for some UNLOGICAL REASON THE CODE DOESN'T MANAGE ANYTHING BEYOND 6 LETTERS... :S :S :S
for instance try ...
11. ## Thread: EVALUATION OF POSTFIX NOTATION

by Medo Almasry
Replies
6
Views
1,818

### [SOLVED] Re: EVALUATION OF POSTFIX NOTATION

I shall respectfully reject the offer because right now am working on databases (stacks, queues, linked lists, trees)...
and regarding games, next semester I shall be taking GUI and most probably I...
12. ## Thread: EVALUATION OF POSTFIX NOTATION

by Medo Almasry
Replies
6
Views
1,818

### [SOLVED] Re: EVALUATION OF POSTFIX NOTATION

I guess this is what happens when you spend hours watching the big bang theory -.- :D
THANKS ALOT MAN :D
I missed out that one :D
13. ## Thread: EVALUATION OF POSTFIX NOTATION

by Medo Almasry
Replies
6
Views
1,818

### [SOLVED] Re: EVALUATION OF POSTFIX NOTATION

all this means is that if the character is between 1 and 9 push it into the stack...
14. ## Thread: EVALUATION OF POSTFIX NOTATION

by Medo Almasry
Replies
6
Views
1,818

### [SOLVED] EVALUATION OF POSTFIX NOTATION

class StackObj
{
private Object[] theStack;
private int maxSize;
private int top;

public StackObj(int s)
{
maxSize = s;
theStack = new Object[maxSize];
15. ## Thread: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

by Medo Almasry
Replies
7
Views
2,041

### Re: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

here this is stackobj

public class StackObj {

private Object[] theStack;
private int maxSize;
private int top;

public StackObj(int s)
{
16. ## Thread: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

by Medo Almasry
Replies
7
Views
2,041

### Re: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

Thnaks alot dude...
It doesn't matter no more...
but Thanks alot :D
have a good night though ;)
17. ## Thread: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

by Medo Almasry
Replies
7
Views
2,041

### Re: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

You are absolutely right...
F*** it with my midterms...
now stackobj is a class that i made which works exactly like a stack but for objects...
THANK YOU...
18. ## Thread: POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

by Medo Almasry
Replies
7
Views
2,041

### POSTFIX NOTATION USING STACKS... [EXAM IN 4 HRS HELP!!!]

when I call this method I get the answer in binary :S
HELP PLEASE MY EXAM IS WITHIN 4 HOURS....
this is supposed to use stacks in order to solve postfix notation...
u take a string push the values...
19. ## Thread: SORTING ALGORITHMS...

by Medo Almasry
Replies
3
Views
915

### Re: SORTING ALGORITHMS...

Actually I appreciate your help both of you...
but this is a MODIFIED SELECTION SORT :D
The purpose is to find min and post it at beginning, find max and post it at the end in every pass...
20. ## Thread: SORTING ALGORITHMS...

by Medo Almasry
Replies
3
Views
915

### SORTING ALGORITHMS...

public class PAS2 {

public static void main(String[] args) {
int[] x = {1,4,2,6,5,3,4};
for(int z : modifiedselectionsort(x)){
System.out.print(z + "\t");
}

public static int[]...
21. ## Thread: UNION OF TWO INTEGER ARRAYS... HELP?

by Medo Almasry
Replies
16
Views
4,057

### [SOLVED] Re: UNION OF TWO INTEGER ARRAYS... HELP?

Thanks for your help NORM :D
U are a great MAN :D
22. ## Thread: UNION OF TWO INTEGER ARRAYS... HELP?

by Medo Almasry
Replies
16
Views
4,057

### [SOLVED] Re: UNION OF TWO INTEGER ARRAYS... HELP?

Outside the bounds of array length discussion...
Is there anyway to create an array an put in it the values of another array without the zeros...

P.S. I know am getting on ur nerves but my exam...
23. ## Thread: UNION OF TWO INTEGER ARRAYS... HELP?

by Medo Almasry
Replies
16
Views
4,057

### [SOLVED] Re: UNION OF TWO INTEGER ARRAYS... HELP?

The last for loop is supposed to convert unique[]
12 32 14 35 89 16 120 9 0 8 17 0 0 36
to union[]
12 32 14 ...
24. ## Thread: UNION OF TWO INTEGER ARRAYS... HELP?

by Medo Almasry
Replies
16
Views
4,057

### [SOLVED] Re: UNION OF TWO INTEGER ARRAYS... HELP?

The altering at the end is not much of an issue to me as much as getting the right output...
everything goes right till the last for loop...
I'm trying to copy the whole array into a new one...
25. ## Thread: UNION OF TWO INTEGER ARRAYS... HELP?

by Medo Almasry
Replies
16
Views
4,057

### [SOLVED] Re: UNION OF TWO INTEGER ARRAYS... HELP?

ok u were right I should've started the counter with 0 instead of one...
and i changed the length of both arrays union and unique to 14...
but now it gives me

FOR UNION :
12 32 ...
Results 1 to 25 of 38
Page 1 of 2 1