J. S. Kowontan
Statistik
RANG
N/A
of 300.756
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.077
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...
mehr als 7 Jahre vor
Gelöst
The Google Interview: Two Eggs Problem
Consider the following problem, a popular Google interview question: A firm has invented a super-strong egg. For publicity pu...
mehr als 7 Jahre vor
Gelöst
Toads and Frogs Puzzle 2
On a two-dimensional board with 2n + 1 rows and 2n + 1 columns, all (2n + 1)^2 positions of the board, except the central one, a...
mehr als 7 Jahre vor
Problem
Nash Equilibrium
In game theory, a player's *strategy* is any of the options that can be chosen in a setting where the pay-off depends not only o...
mehr als 7 Jahre vor | 7 | 5 Lösungsvorschläge
Gelöst
Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...
mehr als 7 Jahre vor
Gelöst
Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....
mehr als 7 Jahre vor
Gelöst
string comparision
compare two strings if both are same return 1 else return 0
mehr als 7 Jahre vor
Problem
Let's Make A Deal: Criminal Minds
The game of Let's Make A Deal proceeds as follows; The player is given the choice of three doors: Behind one door is a car; b...
mehr als 7 Jahre vor | 1 | 2 Lösungsvorschläge
Gelöst
Find argmax of a function
You are given vectors x and y (=f(x)). Return the element of x for which f(x) is maximized.
mehr als 7 Jahre vor
Problem
Let's Make A Deal: The Player's Dilemma 2
Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. Y...
mehr als 7 Jahre vor | 1 | 2 Lösungsvorschläge
Problem
Let's Make A Deal: The Player's Dilemma
Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. Y...
mehr als 7 Jahre vor | 0 | 2 Lösungsvorschläge
Gelöst
Seperate array to small section according to its index position
Given a integer n, we can generate a sequence [0,1,2,3,4,..., 2^n-1], then we separate it to two sequence according to their ind...
mehr als 7 Jahre vor
Gelöst
Penny Distribution Machine
A machine consists of a row of boxes. To start, one places N pennies in the leftmost box. The machine then redistributes the pen...
mehr als 7 Jahre vor
Gelöst
God of War: The Chains Of Olympus
The Spartan warrior, Kratos, is held by a chain of _n > 1_ links in the underworld. His only chance of survival is to break the ...
mehr als 7 Jahre vor
Gelöst
Counting Squares
An algorithm starts with a single square and on each of its next iterations adds new squares all around the outside as shown bel...
mehr als 7 Jahre vor
Problem
God of War: The Chains Of Olympus
The Spartan warrior, Kratos, is held by a chain of _n > 1_ links in the underworld. His only chance of survival is to break the ...
mehr als 7 Jahre vor | 1 | 5 Lösungsvorschläge
Problem
Penny Distribution Machine
A machine consists of a row of boxes. To start, one places N pennies in the leftmost box. The machine then redistributes the pen...
mehr als 7 Jahre vor | 1 | 25 Lösungsvorschläge
Gelöst
Five Fingers
A little girl has just learnt how to count from 1 to N using the five fingers of her left hand as follows. She starts by calling...
mehr als 7 Jahre vor
Problem
Five Fingers
A little girl has just learnt how to count from 1 to N using the five fingers of her left hand as follows. She starts by calling...
mehr als 7 Jahre vor | 2 | 34 Lösungsvorschläge
Problem
Counting Squares
An algorithm starts with a single square and on each of its next iterations adds new squares all around the outside as shown bel...
mehr als 7 Jahre vor | 3 | 36 Lösungsvorschläge
Gelöst
007: Chinese Barrack Invasion
*MISSION:* Successfully invade a military barrack located in China. *WARNING:* There is a row of _n_ security switches protec...
mehr als 7 Jahre vor
Problem
007: Chinese Barrack Invasion
*MISSION:* Successfully invade a military barrack located in China. *WARNING:* There is a row of _n_ security switches protec...
mehr als 7 Jahre vor | 2 | 23 Lösungsvorschläge
Problem
The Generalized-N Eggs Problem
A firm has invented a super-strong egg. For publicity purposes, it wants to determine the highest floor in a story building with...
mehr als 7 Jahre vor | 1 | 4 Lösungsvorschläge
Problem
The Google Interview: Two Eggs Problem
Consider the following problem, a popular Google interview question: A firm has invented a super-strong egg. For publicity pu...
mehr als 7 Jahre vor | 2 | 21 Lösungsvorschläge
Gelöst
Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...
mehr als 7 Jahre vor
Problem
Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...
mehr als 7 Jahre vor | 2 | 17 Lösungsvorschläge
Problem
Toads and Frogs Puzzle 2
On a two-dimensional board with 2n + 1 rows and 2n + 1 columns, all (2n + 1)^2 positions of the board, except the central one, a...
mehr als 7 Jahre vor | 1 | 11 Lösungsvorschläge
Gelöst
Toads and Frogs Puzzle
On a one-dimensional board with n + m + 1 cells, there are n counters in the first n cells representing Toads and m counters in ...
mehr als 7 Jahre vor
Problem
Toads and Frogs Puzzle
On a one-dimensional board with n + m + 1 cells, there are n counters in the first n cells representing Toads and m counters in ...
mehr als 7 Jahre vor | 1 | 23 Lösungsvorschläge
Gelöst
Raise each element to the power of its index in a matrix
In a matrix, A = [1,2;3,4] raise the power of each element like: 1^1+2^3+3^2+4^4 and add it all to produce the result 274
mehr als 7 Jahre vor











