@@ -0,0 +1,393 @@
+package chapter_5;%0A%0Apublic class Insertion %7B%0A  public String insertMIntoN(int m, int n, int i, int j) %7B%0A    int result = clearBits(n, i, j);%0A    return Integer.toBinaryString(result %7C (m %3C%3C i));%0A  %7D%0A%0A  private int clearBits(int n, int i, int j) %7B%0A    int val = Integer.MAX_VALUE %3E%3E%3E (31 - j - 1);%0A    int val2 = Integer.MAX_VALUE %3C%3C i;%0A    int mask = val & val2;%0A    return n & ~(mask);%0A  %7D%0A%7D%0A

Add ctci chapter 5 solution for Insertion