Forum Posts
- 1 Answer Question 1.3
From the book, 4th Edition, exercise #1.3
- davidjhp2 August 06, 2013
1.3 Design an algorithm and write code to remove the duplicate characters in a string without using any additional buffer. NOTE: One or two additional variables are fine. An extra copy of the array is not.
I copied the code she provided exactly into Eclipse:
I ran the program with input = "HelloHello";
I got output = "Helo";
Does this make any sense?| Flag | PURGE - 11 Answers Problem with question,
We have an array of numbers from 1 to 100. Two numbers are missing. Finding those two numbers using O(n) time and O(1) space. Noted that those numbers in the array are not sorted.
- Feurer August 04, 2013
example :
let there be an array [4, *missing*, 1, *missing*, 2]
As you can see, the missing is 3 and 5. Assuming that the array of numbers from 1 to 5 and two number is missing. Actually, it is [4, 1, 2] Without 3 and 5.
How to solve this ?
can you give code hints.
thank you.| Flag | PURGE - 2 Answers ARITHMETIC
A REPORT Has 20 SHEETS, EACH OF 55 LINES AND EACH SUCH A LINE CONSISTS OF 65 CHARACTERS. IF THE REPORT HAS TO BE RETYPED WITH EACH SHEET HAVING 65 LINES AND EACH LINE HAVE 75 CHARACTERS, THE PERCENTAGE OF REDUCTION OF NO OF SHEETS IS CLOSEST IS TO?
- HiMSajjan July 29, 2013| Flag | PURGE - 0 Answers Google Written Test
I am preparing for interviews for companies that will come in my campus. Recently I came to know that Google is going to come to my campus. The first round is supposed to be a 60-70 minute written test.
- dhirajb1989 July 27, 2013
Can anyone please tell how to prepare strongly for the written test??| Flag | PURGE - 2 Answers Intel India interview
How long will it take for the company to announce the round results? I had applied to the company for Software Developer post at Intel Bangalore by employee referral a month ago. Few days ago(almost a week ago), I got a company from one of the employees saying I would be having a telephonic interview. There was a telephonic interview following day. Everything went well. Finally, he said they will announce the results of the end of next week. 'Next week' is over and no results yet. How long will it take further? Any ideas?
- LoL July 27, 2013| Flag | PURGE - 1 Answer Bit Manipulation Exercise
How might you solve this? Write a method that return the number corresponding to a pattern of bits of length n consisting of consecutive 1s of p length and consecutive 0s of q length. The sample input of p=3, q=3,and n=18 should produce the result "000111000111000111" whereas an input of p=4, q=2, and n=15 would produce the result "111001111001111".
- Anthony Mays July 26, 2013| Flag | PURGE - 1 Answer What type of questions to expect on IQ interview
Hi all,
- hnfaridi91 July 20, 2013
I just gave an interview at a software house and cleared the first interview..
Now they just said that I am going to have an other interview and they named it as a Technical One and said that in this you IQ will be checked..
Now what type of questions should I expect from them..
In 1st Interview they asked concepts of OOP, Threading, Exceptions and mostly Java things and gave me some array problems and one linklist problem to solve..
Now what to expect on second interview..| Flag | PURGE - 0 Answers Amazon Interview: Rejection
Hi,
- rizzo0917 July 20, 2013
I was recently contacted by Amazon via LinkedIn immediately setup a phone interview.
Phone interview was 90 minutes long. Apparently went well because they offered to fly me our no more than a day later.
Scheduled the on-site interview like 3 weeks out. Was juggling a summer class a full time job and prepping for the interview so needless to say it was difficult.
Interview wasn't terribly bad I guess.
Stuck on all of the... "Can you tell me a time when..." questions, which frazzled me a bit, but eventually came up with something.
Tech questions weren't hard, but that was because I think the only ones I was asked were the easy ones. I may have spent too much time talking before the tech questions and when I got to the tech questions, I think I may too much time in my method: clarifying, solving the problem conceptually, writing pseudo code, and then writing the final code.
I think my resume was misleading. I've been my current company for almost 5 years, and I've been going to school and working the whole time.
The current company isn't a tech company. I've been building software for them the whole time I've been here, however for the first 3 years, I've been doing it in a void. Within the last year or so me and my direct manager have been making strides to make it become a software shop.
So when they asked me questions about my clients and such it was very difficult to come up with an answer.
In addition to that during the interview one of the interviewers clarified if I was applying for SDE II. I replied pretty adamantly SDE I because I know where I stand in terms of experience.
I am going to ask my recruiter for some feedback and how long I have to wait to reapply. I've read on here and other places 6 months, but I don't know how bad I really did and my head tells me they might have black balled me from amazon entirely.
Either way I'm not going to give up. I never thought about interviewing for a top tech company until this experience and now I want to see if I have what it takes to become an SDE for one of the big guys.
Considering all this information, any feedback would be great. In terms of approaching preparation, resume clarification, or just anything in general.
Thank you.| Flag | PURGE - 0 Answers Interview with Sr. Dev Mgr at Amazon
All,
- Murali Mohan July 17, 2013
I have an interview scheduled with Sr. Dev Mgr at Amazon in a week from now. That is the last round and I am totally clueless as so what will be asked there. Can anyone plz plz plz guide me?
Thanks a million!| Flag | PURGE - 1 Answer OO Design of extendable BlackJack game, peer review needed
I got this question in an interview for a C# software developer intern position at a Biotech company. Below I have some classes with relationships and am hoping to hear advice, critiques how I set this up.
- justinwkenny July 15, 2013| Flag | PURGE - 0 Answers Number of couples with the same difference
Given a sorted array. Find the number of couples with the same difference. For example we can have an array with 2 couples whose difference is 3 and 4 couples whose difference is 5. The Output should be 2 & 4.
- chadi4all July 12, 2013| Flag | PURGE