Really, it was asked in google interview. Of course, this is pretty much similar to classic questions like how many gas stations in the united states?
can anybody help? best of all answers comes here …
Really, it was asked in google interview. Of course, this is pretty much similar to classic questions like how many gas stations in the united states?
can anybody help? best of all answers comes here …
→ No CommentsTags:
Four Man 1 can see men 2 and 3. They are not allowed to talk to each other. So the question is - can anybody help? best of all answers comes here …
men are lined up on some steps. They are all facing in the same
direction. A wall seperates the fourth man from the other three.
So to summarise :-
Man 2 can see man 3.
Man 3 can see none of the others.
Man 4 can see none of the others.
The
men are wearing hats. They are told that there are two white hats and
two black hats. The men initally don’t know what colour hat they are
wearing. They are told to shout out the colour of the hat that they are
wearing as soon as they know for certain what colour it is.
They are not allowed to turn round.
Who is the first person to shout out and why?
→ 1 CommentTags:puzzle
For example, 5! = 1.2.3.4.5= 120 has one zero and 10! = 1.2.3.4.5.6.7.8.9.10 = 3628800 and has two zeros.
can anybody help? best of all answers comes here …
→ No CommentsTags:Google·placements paper
The power set in Algebra theory is the set of all subsets of a set
(no..bull-set!) If a set has N elements then the power set will have
2^N elements. So if a set is denoted by {a,b} with a,b as elements then
the power set is { {},{a},{b},{a,b} }.
The {} is the empty set.
Can anybody help? best of all answers comes here…
→ 1 CommentTags:algorithm·Google·placements question·power set
There are 9 coins. Out of which one is odd one i.e weight is less or more. How many iterations of weighing are required to find odd coin?
Try yourself first and finally, Select all to know the answer.
Answer
It is always possible to find odd coin in 3 weighings and to tell whether the odd coin is heavier or lighter.
→ No CommentsTags:coin weighing·defieted·puzzle
Few common errors in BPEL of Oracle SOA suite are:
1. No domain available for the current user
This occurs due to failure to contact Olite database instance while loading SOA suite in the system. As this db has the all meta info regarding the domain names etc. within the server.
You need to run Olite database bat files for this.
Generally the path to these files would be
D:\product\10.1.3.1\OracleAS_2\bpel\install\bin
These are bat files and file names contains olite string. ex: reg_olite.bat
These names and paths might change based on the version of SOA suite. This configuration exists for 10.1.3.1
→ No CommentsTags:
Choose the responsibility as System Administrator,
1. Navigate to Security -> User -> Define.
2. Search for the user for which you want to add new responsibility.
3. Bottom page shows the current responsibilities attached to current user. There you create a new record with the desired responsibility and then save.
4. Logout of the Apps. And login after sometime as most cases, it take some time to update its cache.
5. Next time, when you login with that user, you can see that new responsibility in your welcome page.
→ No CommentsTags:Apps·new responsibility·Oracle Apps
The Typical one is - to find the files with some pattern recursively in a given directory.
$ find path/to/dir -name “*.html”
You can replace the “*.html” to your own filename pattern.
Another one is, in addition to above I need the text lines inside those files starting with letter t.
$ find path/to/dir -name “*.html” -exec grep “^t” {} \;Another version with output filename plus greped text content is
$ find path/to/dir -name “*.html” | xargs grep “^t”;
-exec and xargs are the two helped commands to extend the main command functionality.
→ No CommentsTags:find·grep·recursive·unix command
Best of way of writing empty links in javascript is
<a href=”javascript:void(0);” onMouseOver=”status=”;return true” onClick=”myPopup();” >
here, due to onMouseOver attribute, it won’t display the link location in the browser status bar. Otherwise, you see the ugly location to “javascript:void(0)” in status bar.
→ No CommentsTags:empty links·javascript
http://justaddwater.dk/2007/04/26/howto-create-a-temporary-local-subversion-repository/