摘要:
1、题目: #Find the missing letter Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in 阅读全文
摘要:
1、题目: You live in the city of Cartesia where all roads are laid out in a perfect grid. You arrived ten minutes too early to an appointment, so you dec 阅读全文
摘要:
1、题目: Some numbers have funny properties. For example: 89 --> 8¹ + 9² = 89 * 1 695 --> 6² + 9³ + 5⁴= 1390 = 695 * 2 46288 --> 4³ + 6⁴+ 2⁵ + 8⁶ + 8⁷ = 阅读全文
摘要:
1、题目: Count the number of DuplicatesWrite a function that will return the count of distinct case-insensitive alphabetic characters and numeric digits 阅读全文
摘要:
import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import org.apache.log4j.Logg... 阅读全文
摘要:
解决思路,既然上一个libreoffice没关闭,导致8100端口被占用,那我们就去关闭它。 在OfficeManager.start();方法之前,使用Linux进程操作工具类,找到之前的libreoffice进程,然后杀掉进程。Linux进程操作工具类请看https://www.cnblogs. 阅读全文
摘要:
package com.talkweb.utils;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import org.apache.log4j.Logger;imp 阅读全文
摘要:
import com.itextpdf.text.Document; import com.itextpdf.text.Image; import com.itextpdf.text.Rectangle; import com.itextpdf.text.pdf.PdfWriter; import java.io.File; import java.io.FileOutputStream;... 阅读全文
摘要:
import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLCon... 阅读全文
摘要:
import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereo... 阅读全文