Longest Increasing Subsequence (LIS)
Problem StatementGiven a set of integers in random order, find out a sequence of elements which are in sorted in increasing order. The constraint here is that they are not strictly consecutive. Some...
View Articlemaximum number of A using Ctrl-A, Ctrl-C, Ctrl-V keys (Google interview...
Problem StatementYou are given following four keys on a keyboard:1. print A (print a single character A)2. Ctrl-A (Select All)3. Ctrl-C (Copy selected content)4. Ctrl-V (Append the selected content...
View ArticleFind largest sub-square matrix with all 0s (Microsoft interview question)
Problem StatementGiven a square matrix (n*n) which contains only 1 and 0, find the largest sub-square matrix which only contains 0s. For example:For example:Input #1:0 0 0 00 0 0 00 0 0 11 1 1 1Â The...
View ArticleRemote Debugging using gdbserver
remote debugging using gdb is the trickiest of all forms of live debugging, it needs two instances of gdb - gdbserver and gdb client running in parallel.
View ArticleOSB Reporting Action Extension
OSB reporting action extension can be achieved by making the reporting data accessible outside OSB Dashboard by using JMS modules, JMS connection factory, JMS queue
View ArticleWhat happens when you type a URL in browser
This article explains in step-wise detail as to what really happens when you type a url in the browser. This is also a very common interview question asked by almost every tech company.
View ArticlePerl special variables - explained with examples
Perl developers love to type less and Perl provides an abundant set of special variables to support the same. Perl special variables generally use characters like punctuation marks etc. so that...
View ArticleHow to add Microdata to markup structured data for blogs
Microdata is a set of schema rules which can be added to HTML code to markup structured data . This helps search engines to display rich snippets in search results.
View Article5 CodeIgniter libraries you must have
Compiled a list of 5 CodeIgniter libraries that you must have for your web development environment, such as HMVC, templates, authorization and routing library
View ArticleInterview question - Given an array find four elements such that A + B = C + D
Problem Statement:Given an array A of integers, find the index of values that satisfy A + B = C + D, where A,B,C & D are integers values in the array.Note:1) Return the indices `A1 B1 C1 D1`, so...
View ArticleFind if sum of two nodes is equal to a given number in BST
Problem Statement:Given a binary search tree T, where each node contains a positive integer, and an integer K, you have to find whether or not there exist two different nodes A and B such that A.value...
View ArticleGiven a matrix print elements in spiral order
Problem Statement:Given a matrix of m * n elements (m rows, n columns), return all elements of the matrix in spiral order.Example:Given the following matrix:[ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]...
View Articleminimum number of steps in infinite grid
You are in an infinite 2D grid where you can move in any of the 8 directions:
View ArticleInsert an internal into given set of non overlapping intervals
lskdfj lksjf kjsadlkfj slkdjf lksdfj
View ArticleA brief introduction to Go Programming Language
What really is Go Programming LanguageGo is a recent language which sits neatly in the middle of the landscape, providing lots of good features and deliberately omitting many bad ones. It compiles...
View ArticleEnterprise mobile application development: how much does it cost
Mobile applications have become a big deal of our lives. And our professional lives are no exception. Business owners use mobile apps as serious tools to enhance their business performance. While some...
View Article
More Pages to Explore .....