TORONTO KIDS COMPUTER CLUB | admin
1
archive,paged,author,author-admin,author-1,paged-95,author-paged-95,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Author: admin

18 Jun Aurora Thursday Java 18:00 – 06.17

Question 1 Given an array of strings as below: strArr = ["apple","banana","or","and","they","them","fighter"] Use any sorting algorithm to sort the array according to the size of the string. If the array contains multiple strings with the same length, you can order those strings in any order. Final Sorted array should...

Read More

17 Jun Aurora Thursday Java 18:00 – 06.10

Question: Input N numbers using scanner and find the Kth Smallest number in the array Sample Input 1: 10  (Hint: Value of N) 12 22 32 1 23 3 4 5 11 100 5 (Hint: Value of K) Sample Output 1: 11 (Hint: Sorted order is 1,3,4,5,11,12,22,23,32,100 so the 5th smallest number is 11) Sample Input 2: 5 (Hint: Value of N) 12 5 2 66 7 3 (Hint: Value...

Read More

14 Jun PMCA Sunday 10:00 Practice -06.13

Question: You are gathering readings of acidity level in a very long river in order to determine the health of the river. You have placed N sensors (2≤N≤2000000) in the river, and each sensor gives an integer reading R (1≤R≤1000). For the purposes of your research, you would like to...

Read More