Sort based on Weight
Sort N integers based on their computed weight, where weight is determined by perfect square, multiple of 4 and divisible by 6, and even number conditions
Choose your challenge. Start easy and work your way up.
Sort N integers based on their computed weight, where weight is determined by perfect square, multiple of 4 and divisible by 6, and even number conditions
Swap every pair of even integers in an array while keeping odd integers unchanged
Calculate the minimum time required for fire to spread from an initial tree to all trees in a forest, spreading to all 8 adjacent trees every minute
Compare and understand while loop syntax and behavior across C, C++, Java, Python, JavaScript, PHP, and Go programming languages
Create a program that prints 'Hello World' in multiple programming languages
Reverse the characters in a given string and print the result
Convert a speed value from kilometers per hour to meters per second with specific precision requirements
Sort N given strings in descending lexicographical order and print them line by line.
Print a pattern where each character of the input string is repeated on successive lines based on its position.
Count the number of days an employee skips lunch based on breakfast timing after 11:00 AM
Split an even-length string into two equal parts and sort them in ascending order.
Design an ATM that dispenses maximum number of currency notes for student withdrawals with limited denominations and note counts.