Coding Questions
Click any row to open the full problem.
129 April 2024 Kolkata (Q2) — Distinct Bitwise OR of Subarrays2Book Exchange — Derangement Count3Count Subsets with Given Sum4Odd Occurring Element in O(log N)5Subset Sum Problem (DP)626 April 2024 — All Subarrays with Sum Equal to K76 May 2024 Shift 1 — Count Subarrays with Sum = K88 May 2024 (Advanced) — Password Validator + Caesar Cipher9Alice's Verbal Kho-Kho — Digit Passing Game10BFS (Breadth First Search) on a Graph11Caesar Cipher (Custom — With Digits)12Income, Expenditure and Savings Tracker13Jump Game — Can You Reach the End?14MPCS Fitness Test — Average Oxygen Level of Trainees15Split Array with Equal Averages1614 May 2024 Shift 1 — Fibonacci Series1714 May 2024 Shift 2 — Pattern: Right-Angle Triangle of Numbers1826 April 2024 Shift 1 — Average Sales Calculation1926 April 2024 Shift 2 — Number Pattern Series2029 April 2024 Kolkata (Q1) — Fibonacci Sum up to N Terms2129 April 2024 Shift 1 — Smallest Number in Array223 May 2024 Shift 1 — Sorting Algorithm (Bubble Sort)236 May 2024 Shift 2 — First Non-Repeating Character248 May 2024 (Basic) — Closest Multiple of Y to X258 May 2024 Shift 2 — Prime Number Check269 May 2024 Shift 1 — Remove Duplicates from Array27AP/GP Series: Find Nth Term28Armstrong Number Check29Binary Number Conversion30Calculate Speed from Distance and Time31Check if Number is Perfect32Check Palindrome (Case-Insensitive)33Chocolate Packets — Move Empty Packets to End34Count Elements Greater Than All Previous Elements35Count Frequency of Each Element in Array36Count Palindrome Numbers in Range M to N37Count Sundays in N Days from a Given Start Day38Count Vowels, Consonants, Spaces and Special Characters39COVID Handshake Problem40Curtain Factory — Max Aqua Curtains in Any Box41Digit Sum (Repeatedly Until Single Digit)42Factory Production (Rate Calculation)43GCD and LCM44Inventory Frequency Counter45Leap Year Check46Matrix Addition47Number Series: n^2 + n Pattern — Find Next Term48Perfect Donation Amount49Reverse a String Without Built-In Functions50Reverse Words in a Sentence51Second Largest Number in Array52Supermarket Scanner — Product of All Digits53Toggle All Bits After MSB (Including MSB)54Toggle Bits — Number of Bits to Flip55Train Travel Time on Bridge56Two-Wheeler and Four-Wheeler Production (Scenario-Based)57Weekly Exercise Summary58XOR Coin Denomination (Story-Based)59Question 160Question 161Question 1062Question 1163Question 1264Question 1365Question 1466Question 1567Question 1668Question 1769Question 1870Question 1971Question 272Question 273Question 2074Question 375Question 376Question 477Question 478Question 579Question 580Question 681Question 782Question 883Question 984Longest Common Subsequence (LCS)85Minimum Coin Change86Cycle Detection in Linked List (Floyd's Algorithm)87Longest Substring Without Repeating Characters88Maximum Subarray Sum (Kadane's Algorithm)89Pascal's Triangle90Rotate Array Left by K Positions91Sieve of Eratosthenes — All Primes up to N92Sort Array of 0s, 1s and 2s (Dutch National Flag)93Check if Two Strings are Anagrams94Find Maximum Occurring Character95Find Missing Number in 1 to N+196Sum of Digits of a Number97Binary Search (Sorted Array)98Binary to Decimal99Check Anagram100Check Even or Odd101Check if Array is Sorted102Check Leap Year103Check Palindrome Number104Check Palindrome String105Check Perfect Number106Check Prime Number107Check Substring108Count Even and Odd Numbers in Array109Count Frequency of Element in Array110Count Number of Digits111Count Vowels and Consonants112Count Words in a String113Decimal to Binary114Factorial of a Number115Fibonacci Series (First N Terms)116Find Duplicate Elements in Array117Find Intersection of Two Arrays118Find Minimum Element in Array119Find Missing Number (1 to N)120Find Second Largest in Array121GCD of Two Numbers122Insertion Sort123Largest of Three Numbers124LCM of Two Numbers125Linear Search126Matrix Reverse Diagonal Consistency127Merge Two Arrays128Move All Zeros to End129Pattern Printing (Right Triangle)130Power of a Number131Remove All Spaces from String132Remove Duplicates from String133Remove Specific Character from String134Reverse a Number135Rotate Array Right by 1 Position136Selection Sort137Stock Availability Score138Sum of Elements in Array139Sum of Prime Numbers up to N140Transpose of Matrix141Two Sum Problem