Say the program you are running has stack overflow. You want to know when and where this happens, but you don't want to use debuggers, because they slow. How would you do this?
Software Engineer V Interview Questions
666,190 software engineer v interview questions shared by candidates
1. check whether a string is palindrome 2. reverse words in a string
I was asked to iterate through binary strings by character and then add the individual integers from the strings.
1) Given an array with 0s and other integers. Find the fastest (that use least organizing) way to transfer all the 0s to the right end of that array. 2) Given an array of integer, find 2 numbers that their sum is closest to a specific number.
Which one of the following is true by default of a Service declared in your manifest? A. It runs in the UI thread. B. It comes with an associated Thread for background execution. C. It’s automatically initialized when you start your app. D. You can only configure it to communicate with the process in which it was started. You want your messaging app to appear as an option in the intent chooser when a user shares content in another application. To do this, you MUST do which of the following? A. Create an IntentService in your Application object to listen to the SENT_MESSAGE intent. B. Register a broadcast receiver in your manifest to receive BROADCAST_SMS. C. Register a ContentObserver to listen to writes to Telephony.Sms.Inbox. D. Register an intent filter for ACTION_SEND in your manifest.
given an array of integers, find 3 integers that sum to zero
Write algorithm to convert number for example 16 138 832 into "sixteen million one hundred thirty eight thousand eight hundred thirty two"
input: list of possibly overlapping intervals, not sorted output: list of intervals that cover the same range but without overlapping (all intervals are closed)
Find the indices of max. value in a large array and return them.
Given an array of integers and size find 3 integers that sum to zero. Explain a brute force algorithm
Viewing 2291 - 2300 interview questions