Scribblings

Tuesday, 26 April 2022

2n points on circle

›
 Read this puzzle somewhere. 2n points are distributed along a circle in equidistant manner. 2 points are chosen at random and a line drawn ...
Friday, 6 May 2016

Petrol pump in a circle

›
There are n petrol pumps in a circle of circumference L, distributed in an arbitrary manner. Each petrol pump gives $a_i$ quantity of petro...
1 comment:
Saturday, 12 March 2016

Some similar puzleson inclusion-exclusion

›
Inclusion exclusion is a common technique for lost of combinatorics puzzles. Here are two I recently encountered: 0. At the banquet of a la...
1 comment:
Monday, 29 February 2016

Probability $n$ uniform random points lie on a semicircle

›
Nice puzzle I read on Saurabh Joshi's blog. What is the probability $n$ uniform random points will lie on a semicircle.
1 comment:
Monday, 25 January 2016

Some problems on sum of subarray that look similar

›
1) Given an array of non-negative integers and input $x$, find the subarray which sums exactly to $x$. Find $O(n)$ solution 2) No constra...
Sunday, 23 August 2015

Expected number of tosses for consecutive heads

›
Geometric distribution with parameter $p$ is the number of tosses of biased coint to get first head. The distributions is given by $P(X=k) ...
3 comments:
Saturday, 15 August 2015

Testing latex support

›
I had tried adding latex support earlier, using  this  stack exchange link.  It didn't work, perhaps due to the 'Awesome inc' t...
›
Home
View web version

About Me

Piyush Bhardwaj
View my complete profile
Powered by Blogger.