Intel Interview Questions
- 0of 0 votes
AnswerQuestion 2: Optimize the problem for total project cost and total project days to minimal.
- ratneshtr09 June 15, 2019 in United States
Given the cost/hour of each worker:
[ 30, 25, 40 ]| Report Duplicate | Flag | PURGE
Intel SDE1 - 0of 0 votes
AnswersQuestion 1:
- ratneshtr09 June 15, 2019 in United States
There is a bunch of tasks, each task has a code with different time to complete and task dependencies. There are few workers, how to allocate the task to these workers to minimize the total time taken to complete the task.
Example:
No of worker: 3
Task id, Task Time, Task dependency:
1, 2, 0
2, 4, 1
3, 7, 0
4, 12, 1
Question 2: Optimize the problem for total project cost and total project days to minimal.
Given the cost/hour of each worker:
[ 30, 25, 40 ]| Report Duplicate | Flag | PURGE
Intel SDE1 C++ - 0of 0 votes
AnswersU have given a undirected weighted graph. U have to create Spanning tree (not MST). The Property is the difference between the min and max edge weight of Spanning edges should be min.
- yogi May 15, 2016 in India| Report Duplicate | Flag | PURGE
Intel Computer Scientist Algorithm - 0of 0 votes
Answersthanks
- it_tech_guy February 29, 2016 in United States| Report Duplicate | Flag | PURGE
Intel Integration Software Engineer - 1of 1 vote
Answerswrite a merge sort algorithm to sort a file which can't be loaded into the memory. Assume you can only load 10 items in the memory at a time and there are 100 items to sort.
- ajrules2105 May 09, 2015 in United States for big data| Report Duplicate | Flag | PURGE
Intel Software Developer Algorithm - 0of 0 votes
AnswersWhich one is the faster addressing mode and why?
- avanee000 September 29, 2013 in United States
i).relative addressing mode
ii).absolute addressing mode| Report Duplicate | Flag | PURGE
Intel Systems Design Engineer - 0of 0 votes
Answersint a,i;
- James Liu September 10, 2013 in United States
(i++)=a;
(++i)=a;
which statement is correct? --explain the reason in the view of compiler.
note: it's not related to initialization or not. say i=2, a=5. I think it is a nice question to test the interviewee's knowledge of compiler.| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Compiler - -2of 2 votes
AnswersThere is a class called A, which receives co-ordinate (x, y) which is processed in a function called fn(x,y): produces an address in memory, pass that address to B and then B retrieves data from memory at that address and then sends that data back through two 32 byte (total 64 byte) data chunk to users. Design the class. follow up questions: How to improve the functions. What are the main bottlenecks?
- shubhra.datta March 05, 2013 in United States| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Object Oriented Design - 0of 2 votes
Answersthere are 5 stairs. you can take either 1 or 2 steps
- shubhra.datta March 05, 2013 in United States
how many combinations you can take to climb the stairs?| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a program to find the first occurance of one string into another : it is okay to write a O(n2) algorithm
- shubhra.datta March 05, 2013 in United States| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Coding - 0of 0 votes
AnswersC# Question.
class Testint x; int y;
Where the memory would be allocated ? Since both are primitive datatypes would it be allocated on stack or heap ?
- Stupid Developer February 18, 2013 in United States| Report Duplicate | Flag | PURGE
Intel Software Analyst C# - 0of 0 votes
AnswersWrite code to remove a node from a linked list. Choose the node which would be most efficient to remove.
- KaranGoswamiKenZ May 02, 2012 in United States for Firmware
Hint: Head node.| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Linked Lists - 0of 0 votes
AnswersReverse an array without using iteration.
- KaranGoswamiKenZ May 02, 2012 in United States for Firmware
Hint: Recursion.| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Arrays - 0of 0 votes
AnswersWrite functions for insertion and deletion in a circular queue implemented using an array in C.
- KaranGoswamiKenZ May 02, 2012 in United States for Firmware
Hint: Remove the node from the end.
Add a node in the front. Move the pointer for removal and insertion. Pointer is just a counter for the index. Modulus it by size of array so that it circles from 0-n.
When pointers match , array is full.| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Arrays - 6of 6 votes
AnswersWhen a child is forked then it inherits parent's file descriptors, if child closes the file descriptor what will happen ? If child starts writing what shall happen to the file at the parent's end ? Who manages these inconsistencies , kernel or user ?
- cinderella April 09, 2012 in United States for 3D graphics| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer - 0of 0 votes
AnswersHello
- Anonymous May 06, 2011
Suppose I have set of files and in every files there are include# to other files in the same set.Suppose I have function that load all the includes in certain file.I need to write function that load all the includes in some given source file so I will avoid infinite loop and circular call for the include.
To solve the question I have to use this function i can't use pragma once or something similar I think it could be solved by recursion though I am not sure how
Thank you| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer C++ - 0of 0 votes
AnswersWhere is the process descriptor structure stored?(Higher 3Gb-4gb)? Is it shared among all processes or separate
- Anonymous September 26, 2010
Implementation details about a semaphore
DOes linux support semaphores?(he said no..only spinlock)| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Operating System - 0of 0 votes
AnswersYou are given a set of n points in a XY plane. Suggest an algorithm to determine if every point is at least separated by every other point by a Manhattan distance of 5 units. Return should be true or false.
- ron.s July 18, 2010
Simplest option is to check each point with every other point to see if (x1-x2) < 5 && (y1-y2) < 5. But this would be O(n^2). But they expected a solution with lesser complexity.| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Algorithm - 0of 0 votes
AnswersFind the GCD of two numbers.
- Anonymous April 02, 2010| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven two character strings, find whether these are anagrams.
- Anonymous April 01, 2010| Report Duplicate | Flag | PURGE
Intel Algorithm - 0of 0 votes
Answersin this function for inserting the link list why do u check for head==null and why not *head==null and whats the diff
- Anonymous November 14, 2009
insert(Node * head)
{
if(head==NULL)
return ;
...
}| Report Duplicate | Flag | PURGE
Intel Algorithm - 0of 0 votes
AnswersHow do you shift a String given a String
- Anonymous Access July 19, 2009 in United States
For instance the following string abcdef and given an index 3, how would you make this in to defabc. So basically the index at a given point must be moved to the front and the rest of the string shifted to the right.
Another example:
Given an index 2 the result is cdefab| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Algorithm - 0of 0 votes
AnswerDescribe our design process when given a software development task.
- markm19 April 02, 2007| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Experience - 2of 0 votes
AnswersImplement a chess game using object oriented design methods.
- markm19 April 02, 2007| Report Duplicate | Flag | PURGE
Intel Object Oriented Design - 0of 0 votes
AnswersWhat's XD bit? How does buffer overflow work?
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Computer Architecture & Low Level Terminology & Trivia - 1of 1 vote
AnswersWhen do you use a double pointer?
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Terminology & Trivia - 0of 0 votes
AnswersDraw all the components of a computer!
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersBehavior questions: favorite internship, projects...
- vodangkhoa November 29, 2005| Report Duplicate | Flag | PURGE
Intel Software Engineer / Developer Behavioral