Thursday, 2 January 2014

Jan 2

Place - Bangalore

Started my day by learning bipartite graph. Abhiram Randhe professor video lectures is very good.
I would recommend starters to learn from it. Implemented maximum flow algorithm using bfs. Need to try it using pfs(priority first search).
Got cool blogs from topcoder need to spend sometime on reading these blogs.

Maximum flow algorithm topics is covered in this blog.
http://apps.topcoder.com/forums/?module=ThreadList&forumID=505876&mc=90

Got the above blog from.
http://apps.topcoder.com/forums/?module=Category&categoryID=8&sortField=9&sortOrder=0&start=0

Algorithm cook-book (includes advanced dp and cool algorithm need to look on)
http://apps.topcoder.com/forums/?module=ThreadList&forumID=534587&mc=412

Didn spend time on project need to balance time. Solved an SRM 302.

People who wanted to improve chess tactics can try this site, found this site recently.
http://chesstempo.com/



Wednesday, 1 January 2014

Jan 1st 2014 (It's a New Year)


Place - Bangalore

Learn number theory. Got many interesting resources to learn advanced data structures including heavy light decomposition. Today's plan is to implement maxflow algorithm and solve at-least one problem.

Maxflow is one cool concept and it's application are many.
Today I need solve at-least one srm and I haven solved the srm 300 div21000 pts.
Starting my day with srm 300 div21000 pts.

Cool blog http://praveendhinwacoding.blogspot.in/2013/06/700-problems-to-understand-you-complete.html
Consist of complete reference to learn segment tree, BIT, and also dp.
Need to solve 3-4 dp problem today. Brush up old concept and implement it.
My new-year resolution start using git-up and upload the implemented algorithm :).
Wishing everyone in the world a happy new-year.

Many of us know have to traverse array in anticlockwise manner but I wanted to share this neat code, come in handy for many cases.
Let n denote number of element in the array. startedpos denotes the starting index of the number.

for(int i=(startedpos+n-1)%n ; i!=startedpos; i=(i+n-1)%n);

Monday, 30 December 2013

Dec 31th


Place - Bangalore

I have taken step to learn Concrete mathematics and found resources.

http://apps.topcoder.com/forums/;jsessionid=54CF3FC4064D389BA3DCCEE739665E68?module=Thread&threadID=644555&start=0&mc=4#1738880.

Apart from the above mentioned site http://www.cs.sunysb.edu/~skiena/teaching/ talks about algorithms, combinatorics etc (Still not seen those videos myself).

Started to learn Flow algorithms . I was trying to understand how it actually works got a nice video lecture from IIT Madras he talk about advanced research problems.

Link is provided here http://www.youtube.com/watch?v=9XAwYkisYiM&list=PLA4F92E491E889A5D&index=21

Was trying to figure out ways to convert top-down approach to bottom-up approach.
Interesting fact that I came to know is

  1. Base case of top-down approach is the base value for the bottom-up approach.
  2. Recursion is easy to be converted to iterative if it's a tail recursion.
  3. understanding iterative and order of loop requires more research.

Tomorrow need to spend time on the project - Finding ways to track efficiently.

  1. Need to think whether I can continue with my old program.
  2. Choosing between segmentation and tracking.
  3. Or initially tracking the image and then find out what the action it corresponds to.






Sunday, 29 December 2013

Day Dec 29th



Place - Bangalore

Past - I attended ICPC contest held at Kanpur and Amritapuri. I wasn well prepared. But understood that still long way to go. I started to like mathematics after starting competitive programming. After the contest I attended a camp conducted by harsha (Red coder in topcoder ~ humblefool). Camp was really good. More than the concepts I learned to multitask things and give importance according to priority.

N today Dec 29th camp ended. Camp (Dynamic Programming , Greedy , Graph, Flows ).
I learned Dp quite well need to put some practice and I ll get more comfortable with it. Today I am starting my project.

Things I did today
Integrated OpenCV with eclipse.
Finding a better segmentation code.
Learnt what is configure file , then makefile and make in linux. How compiler connect all the segments and is able to produce the output.Need to write it down somewhere (Bad memory).

Tomorrow proposed plan.
Solve problems on dp.
Make some progress in project.
Find a better segmentation code. Or try writing your own code.

Resources to integrate eclipse and OpenCV

http://naveenubuntu.blogspot.in/2011/09/installing-cc-pluginor-cdt-in-eclipse.html
http://docs.opencv.org/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html

Above blogs gives step by step approach to integrate eclipse and OpenCV

Thought for the day.
Starting thinking of people who helped you, N stop being greedy.