次の方法で共有


Programming Interview Questions and Answers

For those who have been waiting for the next installment of programming interview questions and answers, well, the wait is sort of over.

I have added a bunch of fresh posts on my Programming Initerview Series blog.

Here is the table of contents for easy reference:

 

Table Of Contents

Introduction

  1. Introduction to technical interviewing
  2. Technical Interview Process – 30,000 feet overview
  3. So, what can be asked in a programming interview?
  4. Beyond the Code

Beginners programming questions

  1. Simple coding questions–Part 1
  2. How to find if a number is a Palindrome?
  3. Linked lists demystified
  4. Recursion–concepts and code
  5. Linked Lists – Sorting, Searching, Finding Maximum and Minimum
  6. Reverse a Linked List
  7. Searching algorithms–Linear search
  8. Binary Search
  9. String manipulation can be fun
  10. String pattern matching
  11. String functions galore
  12. Pass by value versus reference in C#
  13. How to find if a number is perfect square

Advanced programming questions

  1. Lost in a Forest of Trees
  2. The Ins and Outs of a Binary Search Tree
  3. Simple Patterns: Singleton Pattern
  4. Simple Patterns: Repository Pattern
  5. Simple Patterns: Factory Pattern
  6. Implement a basic Stack using linked List
  7. Implement a Queue data structure using a linked list
  8. Operator overloading and pairing rules in C#
  9. LINQ Query, Selection, Partial Selections and Aggregations
  10. Explain System.IO and System.IO.Compression namespaces with an example

ASP.NET

  1. How to redirect user to another page using ASP.NET
  2. Return different HTTP response codes from Response...
  3. Tracing page execution in ASP.NET
  4. ASP.NET page validation controls
  5. ASP.NET 4 site navigation using sitemaps
  6. How do you serialize an object to and from XML
  7. Manage state across entire application in ASP.NET
  8. How to monitor file system changes using FileSystemWatcher in C#
  9. ASP.NET @ Page directive
  10. How to add HTML Server Controls to a Web Page Using ASP.NET
  11. ASP.NET AJAX using UpdatePanel control
  12. ASP.NET Session modes explained
  13. Explain ASP.NET data binding using DataSets and DataSourceControls
  14. ASP.NET HttpModule explained
  15. ASP.NET HttpHandlers

jQuery

  1. jQuery AJAX functions part 1–the load() method
  2. jQuery AJAX functions part 2–get(), post(), getScript() and getJSON()
  3. jQuery AJAX functions part 3–ajax()
  4. Differentiate between alert(), prompt() and confirm() methods
  5. jQuery fadeIn, fadeOut and fadeTo effects
  6. jQuery Selectors reviewed
  7. jQuery to block paste in a textbox
  8. jQuery to create default text for a textbox
  9. jQuery to select/deselect all items in a CheckBoxList
  10. jQuery to show big image on hover

SQL

  1. SQL Select Where Interview Questions
  2. SQL GROUP BY and HAVING clauses
  3. SQL CASE statement examples
  4. SQL IF-ELSE and WHILE examples

LINQ

  1. LINQ - Group, Sort and Count Words in a sentence by length
  2. LINQ interview questions
  3. LINQ SKIP and TAKE interview questions
  4. LINQ JOIN interview questions

JAVA

  1. Basic JAVA interview questions
  2. Explain JAVA ConcurrentModificationException and solutions to fix it
  3. JAVA serialization interview question
  4. JAVA equals() versus == operator

Entity Framework

  1. Coming soon!

Comments

  • Anonymous
    September 02, 2011
    Hi I like this post:   You create good material for community. Please keep posting. Let me introduce other material that may be good for net community. Source: <a href="interviewquestionsandanswers.biz/.../">Data structure interview questions and answers</a> Best rgs Peter

  • Anonymous
    March 23, 2013
    Good books for Google/Amazon Interview(onsite): Apart from CLR and Skiena's algorithms book, I would recommend the following books focussed on real coding interviews questions which contains great details(real questions with real answers as expected by the google/amazon interviewer):   * Top 10 coding interview problems asked in Google with solutions: Algorithmic Approach By Dr Lin Quan   * Elements of Programming Interviews: 300 Questions and Solutions By Adnan et al.   * Programming Pearls By Dr Bentley   * More Programming Pearls By Dr Bentley These books helped me greatly in my Amazon's onsite interview recently. Practicing topcoders questions can be an additional help if it suits individual interest.

  • Anonymous
    March 22, 2014
    am facing the difficult on posting my questions

  • Anonymous
    April 01, 2014
    Thanks Nikil for the info.   It will be helpful to get the next job. A few comments though.  I think that you and many hiring managers are missing the overall point of an interview and have turned it into a psychological game.   You obvously love the process and you've got a track record of hiring good people.  Great.  But you've probably disqualified many who would have been able to do the work and the downside is that more effort on your staff is required to find that perfect person.  A lot of these problems (eg. fibonacci) are very schoolish and have no relationship to what an engineer is really called upon to do.   And "thinking on his/her feet" is irrlevant.  We're hiring an engineer, not a live tv gameshow host. I find the best engineers are those who know HOW to attack a problem, where to find the information, how to be innovative and how to see the 10,000 foot view.   If someone needs to code a binary tree, they can look it up on the internet in 10 seconds so a person who can regurgitate it for you on a white board during a stressful interview does not prove they can solve real world problems. In summary, I think there should be less emphasis on code tests, especially for experienced people.  

  • Anonymous
    April 02, 2014
    Thanks for the input Randall. You are right that knowing how to solve a problem is important (and perhaps the most critical aspect). But to know a good candidate from a not so good one (and that too in 45 mins to 1 hour) you also need additional parameters. Also, when hiring a programmer, the most significant ability you are hiring is to program. Whether Fibonacci is a good question (or some generic business problem) can be debated for sure. But you need to demonstrate the ability that you can think on your feet. Most jobs today require you to do that, so it is not that far fetched.

  • Anonymous
    September 15, 2014
    #include<stdio.h> #include<conio.h> void WELCOME(); void papar_menu(); void cetak_barisan(); char grade='a'; main() {    WELCOME();    papar_menu(); } void WELCOME() {    cetak_barisan();    printf ("   WELCOME  nnnPlease continue");    cetak_barisan(); } void papar_menu() {    printf("Enter your choice and press return:nn1.n2.n3.nn"); }switch(grade)    { case 'a':    printf ("nasi putihn");    printf ("tomyamn");    printf ("siakap 3 rasan");    break; case 'b':    printf ("nasi putihn");    printf ("sup campurn");    printf ("siakap stimn");    printf ("telur dadarn");    break; case 'c':    printf ("nasi putihn");    printf ("sup tulangn");    printf ("telur bungkusn");    printf ("siakap limaun");    break; default:    printf ("Wrong input, Please Try Again!..PRESS 'Y' TO CONTINUE.");        } i cant clear the error..hhh