Applications Developer Interview Questions
- 0of 0 votes
AnswerCan you please help me by giving the code for the following:
- baul.isro May 15, 2023 in India
An array is given which is initially in increasing order and then it is in decreasing order. how to search an element more efficiently?| Report Duplicate | Flag | PURGE
StartUp Applications Developer - 0of 0 votes
Answersin Cracking the coding interview book 6th edition page 42 says that O(5 * 2^n + 1000 * N^100) = O(2^n)... I tried a sample code and got n^100 is greater than 2^n...
- Surender.sharma08 October 12, 2020 in United States| Report Duplicate | Flag | PURGE
Alcatel Lucent Applications Developer Coding - 0of 0 votes
Answers/**
- Tekfiesta June 23, 2020 in United States
Given a nested list of integers, return the sum of all integers in the list weighted by their depth.
Each element is either an integer, or a list -- whose elements may also be integers or other lists.
Example 1:
Input: [[1,1],2,[1,1]]. - 1 at depth 2, 1 at depth 2, 2 is at depth 1, 1 at depth2, 1 at depth 2
// [1] - at depth 1, [[1]] - at depth 2, [[[[1]]]] at depth 4
Output: 10
Explanation: Four 1's at depth 2, one 2 at depth 1.
1*2 + 1*2 + 2*1 + 1*2 + 1*2 = 10
Example 2:
Input: [1,[4,[6]]]
Output: 27
Explanation: One 1 at depth 1, one 4 at depth 2, and one 6 at depth 3; 1*1 + 4*2 + 6*3 = 27.
[[[1]]] - at depth 3
*/
/**
* // This is the interface that allows for creating nested lists.
* // You should not implement it, or speculate about its implementation
* public interface NestedInteger {
* // Constructor initializes an empty nested list.
* public NestedInteger();
*
* // Constructor initializes a single integer.
* public NestedInteger(int value);
*
* // @return true if this NestedInteger holds a single integer, rather than a nested list.
* public boolean isInteger();
*
* // @return the single integer that this NestedInteger holds, if it holds a single integer
* // Return null if this NestedInteger holds a nested list
* public Integer getInteger();
*
* // Set this NestedInteger to hold a single integer.
* public void setInteger(int value);
*
* // Set this NestedInteger to hold a nested list and adds a nested integer to it.
* public void add(NestedInteger ni);
*
* // @return the nested list that this NestedInteger holds, if it holds a nested list
* // Return null if this NestedInteger holds a single integer
* public List<NestedInteger> getList();
* }
*/
public int depthSum(List<NestedInteger> nestedList) {
}| Report Duplicate | Flag | PURGE
8x8 Applications Developer Algorithm - 0of 0 votes
Answers
- vejon July 16, 2019 in United StatesGiven a number n, make a set of m integers such that the integers lie between [1, n] and the sum of two integers should produce an integer which is in the set. Eg. **Input** n=20, m=5 **Output** [3, 6, 11, 14, 17]
| Report Duplicate | Flag | PURGE
ThoughtWorks Applications Developer - 0of 0 votes
AnswersWhat do you believe are a few disservices of Android?
- hemant.maigro April 05, 2019 in United States| Report Duplicate | Flag | PURGE
Accenture Applications Developer Android - 0of 0 votes
AnswersTell me What Is the Google Android SDK?
- hemant.maigro April 05, 2019 in United States| Report Duplicate | Flag | PURGE
Accenture Applications Developer Operating System - 0of 0 votes
AnswersExplain what is Android?
- hemant.maigro April 05, 2019 in United States| Report Duplicate | Flag | PURGE
Fortifive Applications Developer Android - 0of 0 votes
AnswerWhat sort of help will you be offered once your application is discharged?
- markstarc14 March 29, 2019 in United States| Report Duplicate | Flag | PURGE
Brossh Applications Developer - 0of 0 votes
AnswerWill I have the capacity to get to the application while it's in advancement?
- markstarc14 March 29, 2019 in United States| Report Duplicate | Flag | PURGE
Brossh Applications Developer - 0of 0 votes
AnswerHow is the app going to be hosted?
- markstarc14 March 29, 2019 in United States| Report Duplicate | Flag | PURGE
Brossh Applications Developer - 0of 0 votes
AnswerWhat sort of help will I get all through the advancement procedure?
- markstarc14 March 29, 2019 in United States| Report Duplicate | Flag | PURGE
Brossh Applications Developer - 0of 0 votes
AnswerWhat item the executives procedure will you use?
- markstarc14 March 29, 2019 in United States| Report Duplicate | Flag | PURGE
Brossh Applications Developer - 0of 0 votes
AnswerWhat application adaptation techniques should I pick?
- markstarc14 March 27, 2019 in United States| Report Duplicate | Flag | PURGE
WorksApp Applications Developer - 0of 0 votes
AnswerWhat amount of time would it take for application to create?
- markstarc14 March 27, 2019 in United States| Report Duplicate | Flag | PURGE
WorksApp Applications Developer - 0of 0 votes
AnswerWhat dialects are versatile applications customized in?
- markstarc14 March 27, 2019 in United States| Report Duplicate | Flag | PURGE
WorksApp Applications Developer - 0of 0 votes
AnswerDoes your application thought take care of any genuine issue?
- markstarc14 March 27, 2019 in United States| Report Duplicate | Flag | PURGE
WorksApp Applications Developer - 1of 1 vote
AnswerWhat is an activity in android?
- markstarc14 March 27, 2019 in United States| Report Duplicate | Flag | PURGE
WorksApp Applications Developer - 0of 0 votes
AnswerHow to Disable Kodak Printer Ink Monitor ?
- dravenebravo121 March 25, 2019 in United States for The Bugs| Report Duplicate | Flag | PURGE
ABC TECH SUPPORT Applications Developer - 0of 0 votes
AnswerHow do I clean the printhead on my Kodak ESP c310?
- dravenebravo121 March 25, 2019 in United States for The Bugs| Report Duplicate | Flag | PURGE
ABC TECH SUPPORT Applications Developer - 0of 0 votes
AnswerHow do I calibrate my Kodak printer?
- dravenebravo121 March 25, 2019 in United States for The Bugs| Report Duplicate | Flag | PURGE
ABC TECH SUPPORT Applications Developer - 0of 0 votes
AnswerHow do I reset my Xerox WorkCentre 7835?
- dravenebravo121 March 25, 2019 in United States for The Bugs| Report Duplicate | Flag | PURGE
ABC TECH SUPPORT Applications Developer - 0of 0 votes
AnswersSuppose If you are hacker, you have to push data to server and find how much data server can accept using minimal number of times. We don't the size of how much server will accept.
- narsimharao.mothkuri October 14, 2018 in India| Report Duplicate | Flag | PURGE
Accolite software Applications Developer Algorithm - 0of 0 votes
AnswersWhat are common table expressions? How are they different than temporary tables?
- Jaideep July 18, 2018 in India| Report Duplicate | Flag | PURGE
Deloitte Consulting LLP Applications Developer SQL - 0of 0 votes
AnswersWrite query to find second highest salary? Provide different queries to find using sql.
- Jaideep July 18, 2018 in India| Report Duplicate | Flag | PURGE
Deloitte Consulting LLP Applications Developer SQL - 0of 0 votes
AnswersWhat is the difference between Interface and abstract classes? Give practical example from experience.
- Jaideep July 18, 2018 in India| Report Duplicate | Flag | PURGE
Deloitte Consulting LLP Applications Developer .Net/C - 0of 0 votes
AnswersGiven an array which is in ascending order till some point and then descending order till end. find peak element
- careercupuser November 22, 2017 in United States| Report Duplicate | Flag | PURGE
Google Applications Developer Algorithm - 0of 0 votes
AnswersGiven a tree find shorted path to a specified element from root. Actual question is different but theory behind it is same.
- careercupuser November 22, 2017 in United States| Report Duplicate | Flag | PURGE
Google Applications Developer Algorithm - 2of 2 votes
AnswersI was given a questions during an interview which I was not able to solve, please help me in finding the solution.
Ques : - Divide the set in two partition such that both the partition has minimum difference of their sum. If we add an element to the left subset during partitioning than the value of that number will automatically increases by 1, but it will not increase by 1 if I add it to the right side. Find the minimum difference between both the subsets : -ex :- {1,2,3,4,5} leftSubset = {3,4} , rightSubset = {1,2,5} effective sum of leftSubset = 3+4+2(number of elements) effective sum of rightSubset = 1+2+5 = 8 difference of left and right = (9-8)=1 =, min difference
solution : (1,2,3} {4,5}
- himanshu.tomar05 August 21, 2017 in India| Report Duplicate | Flag | PURGE
Goldman Sachs Applications Developer Algorithm - 9of 9 votes
AnswersFind the number of ways you can have breakfast in 'n' days, given Bread-butter can be eaten every day, Pizza can be eaten every alternate day and Burger can be eaten every two days.
- gopalakshintala June 19, 2017 in India| Report Duplicate | Flag | PURGE
Microsoft Applications Developer Dynamic Programming - 0of 0 votes
Answers/* The objective of this exercise is to build a road network connecting every pair of cities.
- Learner_Ash May 19, 2017 in United States
Each city should be connected to each other city once.
*/
public class Program
{
/* Your function RoadBuilder should return a list of new roads required to be built,
if the existing roads are given by builtRoads and the total number of
cities is nCities. Roads should not connect cities to themselves.
*/
public static int[][] RoadBuilder(int nCities, int[, ] builtRoads)
{
//implement the function here
return new int[0][];
}
public static void Main()
{
int[, ] test1 = new int[3, 2]{{0, 1}, {1, 2}, {3, 2}};
Console.WriteLine(RoadBuilder(4, test1)); // expected result should be {{0,2}, {0, 3}, {1, 3}}
}
}| Report Duplicate | Flag | PURGE
Applications Developer Algorithm