This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" | |
| src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $.ajax({ | |
| type : "POST", | |
| contentType : 'application/json; charset=utf-8', | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.ArrayList; | |
| import java.util.List; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Main main = new Main(); | |
| System.out.println(main.count(3, 7)); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.util.Arrays; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Main main = new Main(); | |
| int[] arr = new int[] { 1, 5, 3, 3, 7 }; | |
| System.out.println(main.check(arr)); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public class Main { | |
| public static void main(String[] args) { | |
| Main main = new Main(); | |
| System.out.println(main.largestPowerOf2WhichDividesN(32)); | |
| } | |
| public int largestPowerOf2WhichDividesN(final int N) { | |
| int result = 0; | |
| for (int i = 0; i < N / 2; i++) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import java.text.ParseException; | |
| import java.time.ZoneId; | |
| import java.time.ZonedDateTime; | |
| import java.time.format.DateTimeFormatter; | |
| public class DateTimeFormatterExample { | |
| private final static DateTimeFormatter dateFormatter = DateTimeFormatter | |
| .ofPattern("yyyy-MM-dd'T'HH:mm:ssZ"); | 
