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

Method printList

java/Chapter 11/Question11_7/Question.java:89–93  ·  view source on GitHub ↗
(ArrayList<HtWt> list)

Source from the content-addressed store, hash-verified

87 }
88
89 public static void printList(ArrayList<HtWt> list) {
90 for (HtWt item : list) {
91 System.out.println(item.toString() + " ");
92 }
93 }
94
95 public static ArrayList<HtWt> getIncreasingSequence(ArrayList<HtWt> items) {
96 Collections.sort(items);

Callers 1

mainMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected