Dice Game – TCS CodeVita
Calculate the number of ways to achieve a target sum S using dice with m faces.
Choose your challenge. Start easy and work your way up.
Calculate the number of ways to achieve a target sum S using dice with m faces.
Given a matrix containing integers and alphabets, append each alphabet to all surrounding integers in the 3x3 neighborhood.
Print values from two square matrices in a clockwise spiral pattern, alternating between matrices for each row/column.
SQL query to find the highest revenue movie for each year, sorted by year in descending order
Build a complete To-Do List web application using PHP for backend logic and SQL for data storage with full CRUD operations
Build a dynamic contact form that sends user data to a server using AJAX without page reload
Given N unique integers, print integers and integer ranges in sorted order, where consecutive integers are represented as ranges.
Print integers in decreasing limits from N to 1, then N-1 to 2, then N-2 to 3, and so on until the limits meet.
Find the maximum sum of any two integers from a list whose digit sums are equal, or return -1 if no such pair exists.
Swap matrix columns in a zig-zag pattern where halves of columns are exchanged based on specific pairing rules
Find the integer with the maximum number of factors from a given list of integers
Print a zig-zag triangular pattern using characters from a string with alternating forward and reverse order