Write a Function for r and 5()
Write a function for r and 5() that returns a random int between 0 and 5, implement r and 7 […]
Write a function for r and 5() that returns a random int between 0 and 5, implement r and 7 […]
Out of 10 coins, one weighs less then the others. You have a scale. How will you determine which one
The probability of a car passing a certain intersection in a 20 minute windows is 0.9. What is the probability
Write a function that will find a missing or duplicated number in an array. 2026 Update: Missing & Duplicate Number
Write code to generate all possible combinations of ‘r’ elements in a given array of size ‘n’? 2026 Update: Probability
What method can be used to pick or remove any given character from a string? 2026 Update: String Removal and
How will you find out the longest palindrome in a given string. 2026 Update: Longest Palindromic Substring — Expand Around
How will you find the depth of a binary tree? 2026 Update: Binary Tree Depth — DFS, BFS, and the
What code will you write to check if a number is power of two or not? 2026 Update: Powers of
Write code that will check if a linked list is a palindrome or not. 2026 Update: Linked List Palindrome —
Write a program for producer-consumer problem. Use a blocking queue. 2026 Update: Producer-Consumer — From Semaphores to Modern Async Queues
Write code to serialize and deserialize a given binary tree. 2026 Update: Serialize/Deserialize Binary Tree — Complete Implementation Serializing a
How will you compute x^y such that it will work for floats and negative values? 2026 Update: Power Function —
How can you reverse a double linked list? 2026 Update: Reversing a Doubly Linked List — Full Implementation Reversing a
Can you find a pair in array that will sum up to particular number? 2026 Update: Two Sum — The