Adobe interview MTS-1
Can someone please guide me with the procedure/questions that will be followed/asked in Adobe written test for MTS-1
I am looking for backend job k...
I am looking for backend job kindly contact me.
which is best company
If you have offers from Amazon, Yahoo and Salesforce for software engineer position, which one do you accept? Which company adds value to my resume?
Finding all prime numbers within a given range
This is problem PRIME1 from SPOJ:
The input begins with the number t of test cases in a single line (t<=10). In each of the next t lines there are two numbers m and n (1 <= m <= n <= 1000000000, n-m<=100000) separated by a space.
For every test case print all prime numbers p such that m <= p <= n, one number per line, test cases separated by an empty line.
To solve this, I applied a variation of the sieve of eratosthenes to calculate all primes from 2 to the maximum input number. Then iterate over that list and print out the numbers for each test case.
However, this gives TLE when the maximum input is 100000000(the allowed max). At several online forums, I read that to solve this, one needs to calculate primes only upto sqrt(100000000). I don't understand why this should work. Won't there be primes in the range say, 10000000 - 100000000 which are much greater than 100000000 ?
Online Coding Test for Experienced Developer at Google,Microsoft etc
I have recently applied for a Windows Phone developer at big online shopping company. After the initial phone interview they told that I have to give an online coding test, and they sent me an link to online test. I was applying as 4+ years experience and the job description was too much about the tools, technology and application development over mobile, so I was expecting a question something related to above things, but the test was containing a question related to engineering math problem, and I found it weird to ask such a question to a person who left the college years ago and been involved in application development mainly.
My questions is that other big companies like Google,Microsoft ,amazon etc has similar hiring process for experienced developer? Should I Open my engineering books again and stop worrying about application development questions ?
Why Global variables are not allowed in java?
I request others to refine the post as and when they find it wrong or out of context.
Imagine a real life scenario. In an office there is a coffee machine, which is accessible to everyone (all people). Now, since it is accessible to everyone so anyone can do anything to the milk in coffee machine (assume that someone added lime juice to milk). In order to prevent this we have to take some measures (like installing a CCTV to keep mischief out). But we are an indefinite specie, and can always find a way to sour the milk, so we can say, its kind of difficult to always keep an eye on the Coffee machine.
Also, there is always an option that we do not provide Coffee machine at all in the office, but if you wish to have a coffee, you can approach a coffee shop (As in case of Java, no global variables are allowed but you can create public class with static variable)
Now, taking this concept to our Java or C++, both are free to either implement or not implement Global variables, but Java chooses not to. Why?
• One, They are difficult to understand (as we have to look at the whole system, in above example we have to keep an eye to the behaviour of each and every person in the office) and maintain (as for the reasons stated in above example)
• Two, One of the features of Object Oriented programming is to keep data and the functions that operate on the data together (basically Encapsulation, to achieve high degree of cohesion), and global variables kind of defeats this.
• Three, they are error-prone (as souring of milk in above example), and are not associated with objects, and are therefore not object-oriented programming.
The only instance where a global value can be safe is where it is used as a constant.
check if the two sum is even number and get the numbers
is it possible to do O(N) algorithm to get the number of two sums in an array of positive, negative, unsorted array, that are even ?
Suppose in my database employee table there are 10,000 records , if want want to find out 2549th highest salary then how to do it
hashMap data retrive
i had declared hashMap object and put two values with the same key.
when i retrieve the value of hashMap by the key "key1" i got value "xyz" because it override the value of "key1".
but if i want to retrieve the old value "abc" then how it possible. please solve my doubt .
Amazon Group Coding Interview
I have a Group Interview at Amazon next week and I wanted to know if anyone has previously attended and what kinds of questions can be expected.
In this a total of 25-30 candidates who will be attending this process
and are divided into group of 3 randomly
and every team is given a project to implement in 5 hrs and in between there will be 1 hr interview with amazon guys
Anyone have any idea about this ?
LNKD full loop experiece, earn $10
Share your LNKD experience (full loop) with me. As many details the better. Will pay $10 for 15 mins of your time...Thanks! firstname.lastname@example.org
Create a php application with two DIV’s each 50% in width and floating right.
In the left DIV, create a drop zone for user to drop files that should upload into a root directory and adds an entry into the mysql database with the files url, file name, file type and file size.
In the right DIV create a table that fills from mysql database, each time a user uploads a file the table should refresh with the updated mysql data.
· The user should be able to edit the file name (this should update the mysql database)
· The user should be able to delete the filean someone help with this question
Adobe written test
Can someone please tell me about the types of question being asked in latest adobe written test.
Looking for an awesome coder
Are you a young and hungry software engineer? Do you know Objective C, Swift, and Java Server? Are you local to the Seattle area? Do you want to create apps that will help people have more fun and more productive lives? Do you want to work for yourself instead of for someone else? Does the article “Hunger Will Destroy Your Fear of Failure” by Tony Robbins describe how you think: https://www.linkedin.com/today/post/article/20140527113908-101706366-if-i-were-22-to-succeed-you-need-to-be-hungry?trk=object-title? Do you have strong beliefs that nearly no one else agrees with you on? Are you scrappy, inventive and positive? Do you dream of joining a startup from Day 1?
If the above describes who you are and what you believe in – give us an email or a call. Let’s get awesome stuff done… together.
UVA Online Judge
Anyone know of a site where I can find solutions for problems on UVA Online judge ? Please do share if you know any..
JPMC Singapore Interview
Anyone appeared for JP morgan singapore interview for java developer position?
longest palindromic substring in O(n^^3)
using namespace std;
int chk(int a,int b)
i am getting absurd results :(
please help to point any mistake in the code?
Designations in Google and Amazon?
I am a Java Developer with around 3+ years of Experience.. I wanted to know what all Designations are there in Google & Amazon for my role?
Given 20 GB of data (normally numbers) and you have only 1GB of RAM, How will you sort the data?
What happens when H1B is rejected?
After getting offer from Amazon, the H1B has been rejected. I'm assuming that that means end of this opportunity. But I still wanted to check if anyone else has been in similar situation and what happened to them?