- Python vs Ruby
- Ruby | Types of Variables
- Ruby | Data Types
- Ruby | Blocks
- Ruby | Ranges
- Java AWT | BorderLayout Class
- Java AWT | CardLayout Class
- Java AWT | SpringLayout Class
- Java AWT | GridBagLayout Class
- Java AWT | GridLayout Class
- Java AWT | BoxLayout Class
- Java Swing | ScrollPaneLayout Class
- Java Swing | GroupLayout Class

- A Program to check if strings are rotations of each other or not
- Position of rightmost set bit
- Find the Number Occurring Odd Number of Times
- Minimum number of jumps to reach end
- Median of two sorted arrays of same size
- Leaders in an array
- Segregate 0s and 1s in an array
- Find whether a given number is a power of 4 or not
- Find the two repeating elements in a given array
- Sort an array of 0s, 1s and 2s
- Find the repeating and the missing | Added 3 new methods
- Find the smallest missing number
- Find whether an array is subset of another array | Added Method 3
- Find the minimum distance between two numbers
- Longest Common Subsequence | DP-4
- Edit Distance | DP-5
- Matrix Chain Multiplication | DP-8
- Binomial Coefficient | DP-9
- Largest subarray with equal number of 0s and 1s
- Binary representation of a given number
- Maximum Product Cutting | DP-36
- Count all distinct pairs with difference equal to k
- Swap two nibbles in a byte
- Length of the largest subarray with contiguous elements | Set 1
- Longest Even Length Substring such that Sum of First and Second Half is same
- Count number of ways to reach a given score in a game
- Find the point where maximum intervals overlap
- Find a pair with maximum product in array of Integers
- Validity of a given Tic-Tac-Toe board configuration
- Count even length binary sequences with same sum of first and second half bits
- Given a Boolean Matrix, find k such that all elements in k'th row are 0 and k'th column are 1.
- Submatrix Sum Queries
- Check whether given degrees of vertices represent a Graph or Tree
- Find even occurring elements in an array of limited range
- Multiples of 3 or 7
- Count pairs whose products exist in array
- Program for FCFS CPU Scheduling | Set 1
- Check if two arrays are equal or not
- Largest permutation after at most k swaps
- Circular Matrix (Construct a matrix with numbers 1 to m*n in spiral way)
- Multiply large integers under large modulo
- HeapSort
- Program to print a pattern of numbers
- Program to find largest element in an array
- Program to multiply two matrices
- Program for factorial of a number
- Program to find transpose of a matrix
- Program for addition of two matrices
- Program for subtraction of matrices
- Recursive program to linearly search an element in a given array
- Program to check if two given matrices are identical
- Check if a sorted array can be divided in pairs whose sum is k
- Count numbers whose sum with x is equal to XOR with x
- Sum of product of all pairs of array elements
- Maximum Length Bitonic Subarray | Set 2 (O(n) time and O(1) Space)
- Program to print Lower triangular and Upper triangular matrix of an array
- Count total number of digits from 1 to n
- Print triplets with sum less than or equal to k
- Print matrix after applying increment operations in M ranges
- Maximum Weight Difference
- Frequency of a string in an array of strings
- Greatest divisor which divides all natural number in range [L, R]
- Longest increasing subarray
- Number of steps required to convert a binary number to one
- Check if it is possible to reach vector B by rotating vector A and adding vector C to it
- Highest Response Ratio Next (HRRN) CPU Scheduling
- Printing string in plus ‘+’ pattern in the matrix
- Mirror of matrix across diagonal
- Ways of filling matrix such that product of all rows and all columns are equal to unity
- Program to swap upper diagonal elements with lower diagonal elements of matrix.
- Find smallest subarray that contains all elements in same order
- Find largest prime factor of a number
- Area of a square from diagonal length
- Count pairs from two sorted matrices with given sum
- Sum over Subsets | Dynamic Programming
- Print lower triangular matrix pattern from given array
- Number of subarrays with m odd numbers
- Maximum Perimeter Triangle from array
- Program to check if first and the last characters of string are equal
- Number of prefix sum prime in given range query
- Find duplicate in an array in O(n) and by using O(1) extra space
- Count pairs in an array which have at least one digit common
- Flag register of 8086 microprocessor
- Sorting array with reverse around middle
- Area of the circumcircle of any triangles with sides given
- Make array elements equal in Minimum Steps
- Check if a string has m consecutive 1's or 0's
- Find the number of operations required to make all array elements Equal
- Print all triplets with given sum
- Find an element which divides the array in two subarrays with equal product
- Degree of a Cycle Graph
- Maximum number by concatenating every element in a rotation of an array
- Memoization (1D, 2D and 3D)
- Previous greater element
- Check if concatenation of two strings is balanced or not
- String transformation using XOR and OR
- Sudo Placement[1.5] | Second Smallest in Range
- Find the only missing number in a sorted array
- Minimum cost to reach the top of the floor by climbing stairs
- Longest Subarray with first element greater than or equal to Last element
- Minimum number of single digit primes required whose sum is equal to N
- Program to find last two digits of 2^n
- Sum of two numbers modulo M
- Surd number
- Count pairs with Bitwise AND as ODD number
- Count ways to distribute m items among n people
- Check if a key is present in every segment of size k in an array
- Delete array element in given index range [L - R]
- Number of handshakes such that a person shakes hands only once
- Sum of the numbers upto N that are divisible by 2 or 5
- Maximum profit after buying and selling the stocks
- Number of chocolates left after k iterations
- Number of ways to change the XOR of two numbers by swapping the bits
- Minimum element in a max heap
- Length of longest consecutive zeroes in the binary representation of a number.
- Sum of bitwise OR of all subarrays
- Program to check whether 4 points in a 3-D plane are Coplanar
- Count number of triplets with product equal to given number with duplicates allowed
- Pairs with GCD equal to one in the given range
- Number of divisors of a given number N which are divisible by K
- Find Nth term of the series 3, 14, 39, 84...
- Find area of parallelogram if vectors of two adjacent sides are given
- Minimum time required to complete a work by N persons together
- Check if subarray with given product exists in an array
- Smallest power of 2 which is greater than or equal to sum of array elements
- Program to calculate Bitonicity of an Array
- Find the Initial Array from given array after range sum queries
- Maximize the product of four factors of a Number
- Longest Subarray with Sum greater than Equal to Zero
- Minimum Players required to win the game
- Program to find total number of edges in a Complete Graph
- Sum of Digits in a^n till a single digit
- Find any pair with given GCD and LCM
- Find bitwise AND (&) of all possible sub-arrays
- Largest square that can be inscribed in a semicircle
- Largest triangle that can be inscribed in an ellipse
- Program to print elements of a Matrix row-wise skipping alternate elements
- Program to find the Volume of an irregular tetrahedron
- Find sum of product of number in given series
- Ratio of mth and nth terms of an A. P. with given ratio of sums
- Program to find Circuit Rank of an Undirected Graph
- Split the number into N parts such that difference between the smallest and the largest part is minimum
- Check if a point is inside, outside or on the ellipse
- Count number of integers less than or equal to N which has exactly 9 divisors
- Find the count of maximum contiguous Even numbers
- Program to convert KiloBytes to Bytes and Bits
- Maximum Sum of Products of Two Arrays
- Set the rightmost off bit
- Total number of different staircase that can made from N boxes
- Program to find the Nth Harmonic Number
- Program to find the Radius of the incircle of the triangle
- Count Numbers with N digits which consists of odd number of 0's
- Circumradius of the rectangle
- Check n^2 - m^2 is prime or not
- Given a number x , find y such that x*y + 1 is not a prime
- Absolute difference between sum and product of roots of a quartic equation
- Maximum removal from array when removal time >= waiting time
- Sum of nth terms of Modified Fibonacci series made by every pair of two arrays
- Find the number of rectangles of size 2*1 which can be placed inside a rectangle of size n*m
- Product of all the elements in an array divisible by a given number K
- Smallest Integer to be inserted to have equal sums
- Sum of lengths of all 12 edges of any rectangular parallelepiped
- Count all the numbers in a range with smallest factor as K
- Program to print the pattern with two hollow Triangles
- Print N lines of 4 numbers such that every pair among 4 numbers has a GCD K
- Minimum increment operations to make the array in increasing order
- Check if a large number is divisible by 2, 3 and 5 or not
- Sum of Fibonacci Numbers with alternate negatives
- Find Sum of Series 1^2 - 2^2 + 3^2 - 4^2 ..... upto n terms
- Product of all pairwise consecutive elements in an Array
- Check if suffix and prefix of a string are palindromes
- Number of groups of magnets formed from N magnets
- Check if a string is the typed name of the given name
- Find length of Diagonal of Hexagon
- Length of the Diagonal of the Octagon
- Check if the characters of a given string are in alphabetical order
- Largest element in the array that is repeated exactly k times
- Find if a molecule can be formed from 3 atoms using their valence numbers
- Rearrange all elements of array which are multiples of x in increasing order
- Check if it is possible to rearrange a binary string with alternate 0s and 1s
- Program to find count of numbers having odd number of divisors in given range
- Minimum number of operations required to delete all elements of the array
- Longest subarray with elements having equal modulo K
- Minimum steps to remove substring 010 from a binary string
- Count the number of vowels occurring in all the substrings of given string
- Find if array has an element whose value is half of array sum
- Probability of getting two consecutive heads after choosing a random coin among two different types of coins
- Check if a prime number can be expressed as sum of two Prime Numbers
- Print a case where the given sorting algorithm fails
- Minimum numbers (smaller than or equal to N) with sum S
- Largest right circular cone that can be inscribed within a sphere
- Largest cone that can be inscribed within a cube
- Largest cube that can be inscribed within a right circular cone
- Overall percentage change from successive changes
- Count pairs with Bitwise XOR as EVEN number
- Program to convert the diagonal elements of the matrix to 0
- Sum of elements whose square root is present in the array
- Replace every element of the array by its next element
- Print numbers in descending order along with their frequencies
- Replace the middle element of matrix with sum of surrounding elements
- Expressing a fraction as a natural number under modulo 'm'
- Area of Circumcircle of a Right Angled Triangle
- Larger of a^b or b^a (a raised to power b or b raised to power a)
- Find the element whose multiplication with -1 makes array sum 0
- Check if the given decimal number has 0 and 1 digits only
- Largest Divisor of a Number not divisible by a perfect square
- Summing the sum series
- Count the number of special permutations
- Find elements of array using XOR of consecutive elements
- Count pairs in an array that hold i+j= arr[i]+arr[j]
- Count numbers in a range that are divisible by all array elements
- Check if N is Strong Prime
- Remove exactly one element from the array such that max - min is minimum
- Apothem of a n-sided regular polygon
- Find the repeating and the missing number using two equations
- Count rows in a matrix that consist of same element
- Largest number less than X having at most K set bits
- Minimum number of sets with numbers less than Y
- Find cost price from given selling price and profit or loss percentage
- Find the non decreasing order array from given array
- First and Last Three Bits
- Smallest perfect Cube divisible by all elements of an array
- Maximum length subarray with LCM equal to product
- Program to find sum of harmonic series
- Reverse Middle X Characters
- Check if the binary representation of a number has equal number of 0s and 1s in blocks
- Count of values of x <= n for which (n XOR x) = (n - x)
- Largest right circular cone that can be inscribed within a sphere which is inscribed within a cube
- Count of sub-strings that are divisible by K
- Composite XOR and Coprime AND
- Check if possible to shuffle a matrix with adjacent movements
- Minimum positive integer divisible by C and is not in range [A, B]
- Maximum GCD from Given Product of Unknowns
- Count operations of the given type required to reduce N to 0
- Arrange first N natural numbers such that absolute difference between all adjacent elements > 1
- Number of Simple Graph with N Vertices and M Edges
- Minimum operations required to make all the array elements equal