Open tenwives opened 5 months ago
public static int tailSize(String[] tail) { Map<String, String> map = new HashMap<>(); for(String s : tail) { map.put(s,s); } return map.size(); }
public static String shift(String origin) { char[] chars = origin.toCharArray(); char replace = chars[0]; chars[0] = chars[10]; chars[10] = replace; return new String(chars); }
`
<artifactId>jackson-core</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>org.web3j</groupId>
<artifactId>core</artifactId>
<version>3.6.0</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.83</version>
</dependency>
<dependency>
<groupId>org.web3j</groupId>
<artifactId>geth</artifactId>
<version>3.6.0</version>
</dependency>`