# Programming Interview Questions[2726 Questions]

Filter with Programming subcategories : Alogirthms [22] • C [369] • C Plus Plus [190] • ColdFusion [21] • Delphi [24] • Languages [4] • Perl [61] • PHP [64] • Python [23] • VBA [60] • VoiceXML [20] • XML [37] • PL SQL (FAQs) [157] • Scripting (FAQs) [10] • AJAX (FAQs) [10] • Programming (FAQs) [5] • SQL (FAQs) [192] • EJB (FAQs) [65] • Java Classes (FAQs) [67] • JSP (FAQs) [181] • Struts (FAQs) [59] • C (FAQs) [99] • CPlusPlus (FAQs) [43] • Hibernate (FAQs) [5] • Java (FAQs) [864] • Java Swing (FAQs) [71] • Spring (FAQs) [3]

1. Array Values AlgorithmsHow many values can be held by an array with dimensions A(0:n), B(-1:n,1:m), C(-n:0,2)?
2. Time complixityHow to find time complixity?
3. Sorted MatrixYou are given a matrix. The matrix elements are such that they are sorted both horizontally and vertically. Given an element of the matrix, your job is to obtain its position in an efficient manner.
Example:
10 20 30
15 35 98
48 76 110
Input: 76
Output: 3rd row, 2nd column.
4. Duplicate Elements ArrayYou have an array of size '2n' of these, 'n+1' elements are distinct and 1 element is repeated 'n' times. You must find the repeated element and say how many times it has repeated. Your solution must use minimum no. of comparisons. Also, say how many comparisons your solution will make in the worst case?
5. Algorithm ProfilingWhat is meant by algorithm profiling?