Solved


Last Duplicate
Given an array of integers, find the last duplicate element — that is, the element whose second occurrence appears latest in the...

1 year ago

Solved


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

1 year ago

Solved


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

1 year ago

Solved


Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...

1 year ago

Solved


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

1 year ago

Solved


Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...

1 year ago

Solved


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

1 year ago

Solved


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

1 year ago

Solved


Maze Solver with Backtracking and Custom Cost Rules
Write a function solve_maze that finds a path from the top-left corner (1,1) to the bottom-right corner (m,n) of a 2D matrix M, ...

1 year ago

Solved


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

1 year ago

Solved


Drying sweater?
* A sweater is revolving in a slow low power dryer and losing moisture at any moment at the constant rate 100% of its current mo...

1 year ago

Solved


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

1 year ago

Solved


Find the list of all open files
In the test suite, I use <http://www.mathworks.com/help/matlab/ref/fopen.html fopen> to create new files. The task is to find th...

1 year ago

Solved


Cody Computer Part 3 - Detect the graphic card used on Cody Computer
In the Cody computer investigation party, you may have already solved : Problem 522. Cody Computer Part 1 - Guess the system fo...

1 year ago

Solved


Image Series 3 Complementary
Find the Complementary of image which is 8 bits gray scale image. Each pixel is converted to binary format in the image. A...

1 year ago

Solved


Does this dress make me look fat
For the input string "Does xyz make me look fat" output the string "No, xyz does not make you look fat"

1 year ago

Solved


Sum of infinite series.

1 year ago

Solved


Billiards
Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in th...

1 year ago

Solved


Convert a grayscale image into RGB colour format, preserving data type
In the Image Processing Toolbox, MATLAB provides rgb2gray to convert a 3 channel color image into a 1 channel intensity...

1 year ago

Solved


num7
num

1 year ago

Solved


num3
nam

1 year ago

Solved


nam2
nam

1 year ago

Solved


num6
num

1 year ago

Solved


num10
123456

1 year ago

Solved


num5
num

1 year ago

Solved


num8
num

1 year ago

Solved


num9
num

1 year ago

Solved


num4
nmjhg

1 year ago

Solved


num
num

1 year ago

Solved


Multiplication
Given 2 numbers a and b mulitply them

1 year ago

Load more