Belajar Bahasa C – Tiga Ranting Pohon
Fania mencari tiga ranting pohon di depan rumahnya. Kemudian, Fania mencoba untuk membuat bentuk segitiga dari ranting-ranting tersebut. Namun, hal yang terjadi ternyata tidak semua …
Kode Kreativitas Kopi
Fania mencari tiga ranting pohon di depan rumahnya. Kemudian, Fania mencoba untuk membuat bentuk segitiga dari ranting-ranting tersebut. Namun, hal yang terjadi ternyata tidak semua …
Introduction The wave (known as the Mexican wave in the English-speaking world outside North America) is an example of metachronal rhythm achieved in a packed …
A child is playing with a ball on the nth floor of a tall building. The height of this floor above ground level, h, is …
Define a function that takes an integer argument and returns a logical value true or false depending on if the integer is a prime. Per Wikipedia, a prime number …
Write an algorithm that takes an array and moves all of the zeros to the end, preserving the order of the other elements. The problem …
Create a function that takes a Roman numeral as its argument and returns its value as a numeric decimal integer. You don’t need to validate …
Deoxyribonucleic acid (DNA) is a chemical found in the nucleus of cells and carries the “instructions” for the development and functioning of living organisms. If …
Write a function, persistence, that takes in a positive parameter num and returns its multiplicative persistence, which is the number of times you must multiply the digits in num until …
This time no story, no theory. The examples below show you how to write function accum: Examples: The problem link is here. Solution:
Write a method that takes an array of consecutive (increasing) letters as input and that returns the missing letter in the array. You will always …
Given an array of ones and zeroes, convert the equivalent binary value to an integer. Eg: [0, 0, 0, 1] is treated as 0001 which …
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.