Assuming:
Typical interview stress levels (I am watching)
Using familiar IDE and program language (their choice on their PC!)
Given adequate explanation and immediate answers to questions
Able to compile code and check answers / progress
Claims to be a senior level programmer
How long should it take an interviewee to answer FizzBuzz ...
We've got a round of hiring coming up and something that the brass wants to emphasize in the phone screen is UML experience.
Does anyone have suggestions for UML questions to ask in a technical phone screen?
I'm more of an in-person interview guy than a phone screen guy, so "normally" with something like UML I'd have the candidate knoc...
I have an interview coming up for a JavaScript Engineer position that I expect will be on advanced JavaScript topics. I'm sure there will be questions on closures, but other than that what kinds of topics and questions should I expect?
...
Hi there, I'm trying round up some materials to be used during interviewing. I have different levels of jobs (junior, senior) that I am trying to fill.
One thing I would like to assess is a candidate's ability to write "Clean Code", things like:
Do they normally think along the lines of DRY, YAGNI
Are they familiar with Pattern conce...
I dont know c, c++ much, but can read the code written in it.
Also I am studying the basic data structures in c#...I guess language is not very important...
As you can implement the problem in any lang of your choice in the interview...
Any pointers on what should I prepare as I don't have much day left..
Thanks in advance
...
I just discovered the what c# knowledge should I have? question and wondered about the same, but for Ruby. I consider Ruby to be my favorite programming language, and beyond learning the basics, at least what I've picked up from numerous Ruby on Rails projects and a few Ruby scripts, I've tried to learn from reading blogs like Gluttonou...
How can i find whether a singly linked list is circular/cyclic or not? I Tried searching but couldn't find a satisfactory solution. If possible, can you provide pseudocode or Java?
For Example
1 3 5 71 45 7 5 -stop , its a circular linked list
...
This is an interview question
I think of a solution.
It uses queue.
public Void BFS()
{
Queue q = new Queue();
q.Enqueue(root);
Console.WriteLine(root.Value);
while (q.count > 0)
{
Node n = q.DeQueue();
if (n.left !=null)
{
Console.Writeln(n.left);
q.En...
I found a piece of code that I was writing for interview prep few months ago.
According to the comment I had, it was trying to solve this problem:
Given some dollar value in cents (e.g. 200 = 2 dollars, 1000 = 10 dollars),
find all the combinations of coins that make up the dollar value.
There are only penny, nickel, dime, and quarter....
I have my first ever interview for a Java developer role, specifically RMI, Serverlets and JDBC.
However, it has been a while (2 years) since I have done any Java coding. I am sure I still have it up there somewhere and I do remember the Java syntax
I wanted to ask how can I re-fresh everything in 2-3 days specially the OOP concepts (p...
e.g "ccddcc" in the string "abaccddccefe"
I thought of a solution but it runs in O(n^2) time
Algo 1:
Steps:
Its a brute force method
Have 2 for loops
for i = 1 to i less than array.length -1
for j=i+1 to j less than array.length
This way you can get substring of every possible combination from the array
Have a palindrome fu...
One method which I can think of is to reverse the list and then read it.
But this involves changing the list which is bad.
OR I can make a copy of the list and then reverse it, but this uses additional O(n) memory.
Is there any better method which doesn't use extra memory and doesn't modify the list and runs in O(n) time
reverse linked ...
I just finished a BrainBench test and for the life of my can't figure out the answer to this question...I don't think there is a correct answer.
Choice 1 PUT requests need to be used; they are not repeatable.
Choice 2 HEAD requests need to be used; they reduce data traffic.
Choice 3 GET requests need to be used; they are easier to sen...
Hi,
I'll go for interview soon and the recruiter told me to prepare a bit about joomla!
I use to develope in PHP5 for several years, and i know about OOP.
I'm not really scared about joomla! but i'm wondering what should i know about it ?
Any feedback for similar interview ? or any ideas on what i should know ?!
Thanks in advance
...
Are there any books for C# developers that will help me to improve my performance answering programming questions during an interview? I need practice, and need to work on algorithm types of questions.
...
Marvin Minsky asked me the following question during my oral exam:
As an ant walks it prints a binary number (e.g., 101) every time it takes a step. What is the minimum length, in digits, the binary number can be for it to be possible to tell which direction the ant is traveling without looking at the beginning or end of the string?...
Here is the recursive code.
Can you guys give inputs on how I can implement this using iterative method?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PermAndComb
{
class Program
{
static void Main(string[] args)
{
string s = "abcd";
Permu...
I am mentioning a few questions which are usually the part of interviews, I dont understand what is the intent behind then. Of course one might argue, just to see how you think, or how you react, but isn't it better if you ask a more meaningful puzzle, at least for which you can be sure of answer, or justify unanimously. For example, see...
I am still confused about passing by ref.
If I have a Cache object which I want to be accessed/available to a number of objects, and I inject it using constructor injection. I want it to affect the single cache object I have created. eg.
public class Cache {
public void Remove(string fileToRemove) {
...
}
}
public class O...
I was once asked during an interview the following question, and I've still never been quite clear on the answer. I was wondering if anyone knew where I could learn more, googling hasn't been much help:
Say you have a program that you'd like to test. You add a single log statement and suddenly, the program which was producing expected...