Coding | Practice Questions Daily | C | C++ | Python | Java
Kanalga Telegramâda oâtish
Here we are Posting daily new C, C++, Java & Kotlin questions for practice. Share: https://t.me/coding_practice_questions Be Smart and be the Geek. đ¤đť Improve your coding skill by solving these questions. Daily 3 questions of different lvl.
Ko'proq ko'rsatishMamlakat belgilanmaganToif belgilanmagan
5 809
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kunlar
Ma'lumot yo'q30 kunlar
Postlar arxiv
⢠FizzBuzz
The FizzBuzz challenge is a popular problem in technical interviews. For a given maximum input value n, create a function that outputs integers from 1 to n.
But, if an integer is divisible by three, then the number should be replaced with the word âFizz.â Numbers divisible by five should say âBuzzâ instead. And numbers divisible by both three and five should say âFizzBuzz.â
For example, with an input of 17, the output should be:
[1, 2 , âFizzâ, 4, âBuzzâ, âFizzâ, 7, 8, âFizzâ, âBuzzâ, 11, âFizzâ, 13, 14, âFizzBuzzâ, 16, 17]
Solve in Language : Kotlin or Any
Join @coding_practice_questions
⢠Permutation Palindrome
A palindrome is a word or phrase that could be spelled the same forward and backward. Examples of palindromes include the words âlevelâ and âracecarâ as well as the phrase âtaco cat.â
Create a function that returns TRUE if an input string is a permutation of a palindrome â that is, if the string could somehow be rearranged to make a palindrome. For example, the strings âracecar,â âcarrace,â and âgghhkâ should return TRUE, while words such as âtammyâ and âcodeâ should return FALSE.
For an additional challenge, allow your input to include phrase strings. Youâll need to find a way to remove all spaces in the input string before running your function.
Solve in Language : Kotlin or Any
Let's see who can solve this first.
Join @coding_practice_questions
