题目https://leetcodecn.com/problems/rotatefunction/(https://leetcodecn.com/problems/rotatefunction/)代码javaclassSolution{publicintmaxRotateFunction(intnums){intn=nums.length;if(n1)return0;intsum=0;intf=0
题目https://leetcodecn.com/problems/goatlatin/(https://leetcodecn.com/problems/goatlatin/)代码javaclassSolution{publicStringtoGoatLatin(Stringsentence){Stringwords=sentence.split("");StringBuilderres=newS
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号