Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upupdate chiphers #419
update chiphers #419
Conversation
|
Good Work! I have some requests. |
| private static Object[] findElements() { | ||
| Object[] charValues = new Object[keyword.length()]; | ||
| for (int i = 0; i < charValues.length; i++) { | ||
| for (int j = 0; j < abecedarium.length(); j++) { |
christianbender
Apr 14, 2018
Collaborator
This loop can be avoid with help of the method .indexOf(c) see
| table[i][secondColumnIndex]=table[i][firstColumnIndex]; | ||
| table[i][firstColumnIndex]=columnToSwitch[i]; | ||
|
|
||
| private static void switchColumns(Object[][] table, int firstColumnIndex, int secondColumnIndex, Object[] columnToSwitch) { |
This comment has been minimized.
This comment has been minimized.
|
//Rather use this, As this can perfectly handle the condition where closing brackets are more than opening brackets package Stacks; import java.util.Scanner; /**
*/
} |
changes :-