MCPcopy Index your code
hub / github.com/careercup/ctci / getColumn

Method getColumn

java/Chapter 18/Question18_13/Rectangle.java:34–40  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

32 }
33
34 public String getColumn(int i) {
35 char[] column = new char[height];
36 for (int j = 0; j < height; j++) {
37 column[j] = getLetter(j, i);
38 }
39 return new String(column);
40 }
41
42 public boolean isComplete(int l, int h, WordGroup groupList) {
43 // Check if we have formed a complete rectangle.

Callers 2

isCompleteMethod · 0.95
isPartialOKMethod · 0.95

Calls 1

getLetterMethod · 0.95

Tested by

no test coverage detected