# 929

Sollicitatievragen voor Product Developer gedeeld door sollicitanten

## Meest gestelde sollicitatievragen

Sorteren: Relevantie|Populair|Datum
Er werd een Product Developer gevraagd...19 december 2017

### write a singleton class in c++

2 antwoorden

Can you pls give me your fb id or any other contact details

### what is difference between sales and marketing why should we hire you

2 antwoorden

Sales and marketing are interlinked,marketing is just like a study involving of customer mode,advertising, branding,making leads Whereas sales turns the leads to the products..When there is no product there is no need for a lead this is how they are interlinked Minder

Sales is give your product's ownership to another person and marketing is all about customers need and satisfying them. I recently leave E-learning industry. Now I want to go with my passion and I want work with e-learning industry ever. Minder

### Find the kth minimum element in an array without sorting

2 antwoorden

If the array is not sorted then we can use min heap to get kth smallest element. 1. Forming a Min heap O(n logn) complexity. 2. For values 1 to k, remove elements from root and re-form the heap O(k logn) complexity Minder

If it is not so stressed on time complexity, we can find it in O(n^2). Use two loops. Outer loop will take element one by one sequentially from 0 to n-1 and second loop will run from 0 to n-1 finding whether the arr[i] &gt; arr[j], if so have a count array and increment it based on i. Finally loop through the count array and find which one is equal to k and display that value in arr. Minder

### 1c) Given an array of of 0,1,2 sort the array maintaining the position of the elements, i.e, the 1 appeared at index 2 should come first before the 1 at index 5, when sorted.

2 antwoorden

Count sort is a better solution since the array contains repeated numbers from a range. Complexity would be O(n+k) where k is the range of numbers(3 in this case). Minder

Said Insertion Sort algorithm.

### It includes basic concepts, IPC, OS fundamentals. Given some real world problem scenarios, how you will solve it.

2 antwoorden

after telephonic interview, in how much time they will call Back for face to face interview? Minder

After telephonic interview, in how much time they will call back to you for face to face interview? Minder

### what is semaphore

2 antwoorden

Semaphore is a variable used for handling mutual exclusion in parallel processing. Following operations are defined over a semaphore. notify() - thread has released the given resource. Decrease semaphore count. wait() - Thread has acquired the given resource. Increase semaphore count. Access is granted to a thread only if value of semaphore &gt; 0 Minder

### 1b) Generate binary numbers till given N.

2 antwoorden

public static void main(String[] args) { // TODO Auto-generated method stub int n=100; String[] a= new String[n]; a[0]="0"; a[1]="1"; for(int i=2;i Minder

Gave a brute force solution, O(N^2).

### 2a) Given an array of numbers , make another array such that element at new array is product of all the other elements except that element in older array,and 3ants puzzle and balance brackets question and open ended question.

2 antwoorden

I said in O(n) and he wanted to solve in DP, which i don't know.

Array Question: Find the product of all elements(prod) in the array. In a for loop, new_array[i]=prod/original_array[i]; Balance brackets to be solved using stack: Push when you encounter an open bracket and pop when you encounter close bracket. 3 ants puzzle: 2 directions for each ant and 3 ants are there. Therefore 2^3=8 combinations. Only when all ants move along same direction(either forward or backward) they DON'T collide. Therefore probability is 6/8. Minder

### What are classes and objects

2 antwoorden

just gave the simple definitionand example

In these sorts of interviews you really need to drill down and understand what the interviewer is looking for. A good way to simulate a real interview experience is to do a mock with one of the DXC Technology Associate Professional Product Developer experts on Prepfully, rated super strongly on TrustPilot... prepfully.com/practice-interviews Minder

### 1a) Given a string of characters , numbers and symbols reverse only the characters in the array.

2 antwoorden

Solved using two pointer method.

package com.rajabishek; public interface Stack { public void push(T item); public T peek(T item); public T pop(); public boolean isEmpty(); } package com.rajabishek; public class ArrayStack implements Stack{ private T[] data; private int top = -1; ArrayStack() { data = (T[])new Object[50]; } ArrayStack(int size){ data = (T[])new Object[size]; } public void push(T item) { if(top == data.length - 1) { System.out.println("Stack overflow"); return; } data[++top] = item; } public T peek(T item) { if(top == -1) { return null; } return data[top]; } public T pop() { if(top == -1) { System.out.println("Stack underflow"); return null; } return data[top--]; } public boolean isEmpty() { return top == -1; } } package com.rajabishek; public class Main { //Dependency Inversion - Don't hardcode the actual implementation public static void reverseLetters(char[] data, Stack stack) { for(char character : data) { if(Character.isLetter(character)) { stack.push(character); } } for(int i=0; i Minder

Weergave: 1 - 10 van 929 sollicitatievragen