Basically the mcs are teachers that are trying to teach some morals and new mindsets to their students so as to help them not become pieces of trash later on. One of course tries to teach them in more extreme ways than the other. Both drama address heavy societal topics and deliver strong messages.
Both drama have : A teacher/mentor figure who do their best to help out each of their students ans students who face various problems in their lives. Towards the ending there are also a couple more similarities which wont be mentioned for the sake of not spoiling the drama to people who wish to watch either of them.
Both series focus on a non-traditional main character; 'Ore no Sukato' focuses on their gay homeroom teacher, and '35 sai' focuses on their 35-year-old transfer student. The series' focuses on individual students on a per episode basis, while tying the class together with the overarching plot line, that cumulates at the end.