Sep. 8th, 2013
челябинцы вошли на территорию национального парка, не заплатив за входной билет. Медведя они приняли за переодетого работника парка, испугались, что попались, и решили провести «профилактическую» атаку. «Мы не знали, что это медведь», — говорит смущённый Василий Дубенко. "Мы хотели только раз дать ему в морду, чтобы отцепился. Ну, и началась драка",— добавляет Алексей Павлович.
"В результате происшествия медведя, которого работники парка ласково называют Самсоном, усыпили и перевезли в хирургическую клинику Кракова. Животное прооперировали, наложив 9 швов только на голове и удалив сломанный клык. Сейчас Самсон проходит реабилитацию в зоопарке."
"В результате происшествия медведя, которого работники парка ласково называют Самсоном, усыпили и перевезли в хирургическую клинику Кракова. Животное прооперировали, наложив 9 швов только на голове и удалив сломанный клык. Сейчас Самсон проходит реабилитацию в зоопарке."
Design an algorithm that, given a list of n elements in an array, finds all the elements that appear more than n/3 times in the list.
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don’t use standard linear time deterministic selection algo
rithm.
and here's another one
Find maximum product of subarray in given array of integers
and one more
Given a float number 7.64, convert it into the string WITHOUT using any inbuilt function/library.
(sigh) I now tend to believe that the biggest problem in programming is that everybody is an idiot. The set of idiots is dense.
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don’t use standard linear time deterministic selection algo
rithm.
and here's another one
Find maximum product of subarray in given array of integers
and one more
Given a float number 7.64, convert it into the string WITHOUT using any inbuilt function/library.
(sigh) I now tend to believe that the biggest problem in programming is that everybody is an idiot. The set of idiots is dense.