摘要:
``` / selectSort.java demonstrates selection sort use long[] a for example / public class ArraySel { //ref array private long[] a; private int nElems; 阅读全文
摘要:
``` /* * bubbleSort.java * demonstrates bubble sort * use long[] a for example */ package pers.sort_bubble; class ArrayBub { private long[] a; //ref to array a private int nElems; ... 阅读全文
摘要:
Problem You have been given a String S. You need to find and print whether this string is a palindrome or not. If yes, print "YES" (without quotes), e 阅读全文
摘要:
Problem You have been given a String S consisting of uppercase and lowercase English alphabets. You need to change the case of each alphabet in this S 阅读全文