Removing a Character from a String
What method can be used to pick or remove any given character from a string? 2026 Update: String Removal and […]
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
I met three dragons. One always tells the truth, other one always lies and the last one alternates between lie
An array of elements is given arr arr is of length n Right rotate array by k elements Time complexity
It is raining at midnight – will we have sunny weather in 72 hours? 2026 Update: Weather Forecasting — Machine
A half is a third of it. What is it? 2026 Update: The Half-Full Glass — Estimation and Fermi Problems
When was the last year that looked the same upside down? (1961) 2026 Update: Strobogrammatic Numbers — Rotation Invariant Digits