tech-queries.blogspot.com
August 2011 | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2011_08_01_archive.html
Posted by Akash Agrawal in Wednesday, August 24, 2011. The Secret of the Fibonacci Sequence in Trees. The most stupid C bug ever. The Busy Beaver Problem - good coders code, great reuse. Music produced by different sorting algorithms. To get an automatic feed of all future posts subscribe here. Or to receive them via email go here and enter your email address in the box. You can also like us on facebook. And follow me on Twitter @akashag1001. Posted by Akash Agrawal. Why does this work? Let b be the last...
tech-queries.blogspot.com
Discussions | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/p/discussions.html
To get an automatic feed of all future posts subscribe here. Or to receive them via email go here and enter your email address in the box. You can also like us on facebook. And follow me on Twitter @akashag1001. Find us on Facebook. Find integer average of 2 integers.
tech-queries.blogspot.com
March 2012 | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2012_03_01_archive.html
Catch a linux signal in a C program. Posted by Akash Agrawal in Wednesday, March 21, 2012. Did you ever wonder what happens when an user hits ctrl-c? A SIGINT signal is generated and sent to the process running. This is the way to terminate programs from terminal. Occurs, the process has to tell the kernel what to do with it. Your process can ignore signal, catch signal or let the default action apply. SIGKILL and SIGSTOP cannot be ignored. Void signal handler function (int sig). If (signo = SIGTERM).
tech-queries.blogspot.com
June 2012 | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2012_06_01_archive.html
How did identifying descriptive log file name save us? Posted by Akash Agrawal in Saturday, June 2, 2012. We had a task to batch process around 10 million old slideshows at Slideshare. These slideshows were being processed in parallel and we are supposed to maintain logs to debug if something fails during the process. Each slideshow has an id associated with it and these ids were ranged from 1 to 13 million. It means we have some deleted slideshows in between. When we identified missing 3 lakh slideshows...
netakash.tripod.com
My Books
http://netakash.tripod.com/books.html
Books serve to show a man that. Those original thoughts of his aren't. Very new after all. Please Find some good books here, It may prove beneficial 4 U, due to space constraints, I could not upload all the books, If you need more books, just drop a mail to me and I will try my best to send you that book. I will add more books there, mean while please visit my blog:. Http:/ akashthoughts.blogspot.com/. Kernighan Ritchie The C Programming Language. C Complete Reference by Herbert Schildt. C and C Programm...
netakash.tripod.com
Favorite Links
http://netakash.tripod.com/links.html
Meet My Buddies at:. The future belongs to those who believe in the beauty of their dreams.
tech-queries.blogspot.com
Find the presence of a given word in a given grid | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2014/04/find-presence-of-given-word-in-given.html
Find the presence of a given word in a given grid. Posted by Akash Agrawal in Saturday, April 5, 2014. There is a 2D grid of characters. You need to find if a given word can be matched in any direction in the grid. The direction can be up-down, down-up, left-right, right-left, both diagonals up and down. This problem is also famous with the name ' Where's Waldorf. Below are the result of finding 'Akash and 'coDe'. For our example, sample input will be:. For our example, sample output will be:. Lets say w...
tech-queries.blogspot.com
Checking your Ubuntu Version | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2014/03/checking-your-ubuntu-version.html
Checking your Ubuntu Version. Posted by Akash Agrawal in Friday, March 21, 2014. To find out Ubuntu version you are running, you can run a short command in the Terminal. You will get detailed information about your Linux distribution here. There is a 'Release' field in the out, which have the version of Ubuntu, you are running. Lsb release' command prints distribution-specific information. Here are other option you can use with this command:. Usage: lsb release [options]. I, - id show distributor ID.
tech-queries.blogspot.com
Print all tuple combinations for a given tuple | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2015/08/print-all-tuple-combinations-for-given.html
Print all tuple combinations for a given tuple. Posted by Akash Agrawal in Sunday, August 2, 2015. Given a Tuple for eg. (a, b, c). This question can also be asked as print all subsets of a given set. This looks that a character in the tuple can either be '*' or itself. So we simply need to choose one character at a time, print combination on remaining substring and add them with '*' and earlier chosen character. If we notice, it will be like below in reality:. You can also like us on facebook.
tech-queries.blogspot.com
Is Quora wasting too many ajax calls to implement its live search feature? | PROGRAMMING INTERVIEWS
http://tech-queries.blogspot.com/2012/09/is-quora-wasting-too-many-ajax-calls-to.html
Is Quora wasting too many ajax calls to implement its live search feature? Posted by Akash Agrawal in Sunday, September 9, 2012. As a product. This is a Q&A site where each. Question or answer is. Created, edited, and organized by everyone who uses it. Quora has a live search box in its top navigation bar. This box is it's single point of interaction with user input: for searching a question, for asking a question etc. You start getting suggestions as soon as you start typing in this box. Why should user...
SOCIAL ENGAGEMENT