Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  How many bytes a boolean value takes in Java?

Have you ever wondered how many bytes a boolean value takes in Java? One byte, this might be the answer comes out of your mind right away. But is it? Let's dig in more.Per Oracle documentation on boolean value definition, there is below statement:boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false conditions. This data type represents one bit of information, but its "size" isn't something that's precisely defined.From the description, it mentions that the size of the boolean value is not precisely defined. This ...

15,501 1       BOOLEAN INTERVIEW JAVA SIZE


  Java Interview Questions

Currently there are many articles online which summarize the list of Java interview questions. Some cover lots of basic questions and some cover some specific questions in specific area such as multithreading. In this post, we will not cover the really basic questions, we will cover something different. For basic question, you can read Java Interview Questions。BasicWhat is primitive data type? How many primitive data types in Java? What are they?-- A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other ...

8,926 0       JAVA SECURITY INTERVIEW CAREER MULTITHREADING QUESTION JAVA INTERVIEW JAVA CORE


  Shell script common interview questions

Shell script is frequently used when monitoring system status on Linux. It's not an easy task to write shell script but it's a very important skill for developers and system administrators to ease work and automate common tasks. This post will share some common interview questions about shell script.1. Get random characters(8 characters)Method 1# echo $RANDOM |md5sum |cut -c 1-8471b94f2Method 2# openssl rand -base64 4vg3BEg==Method 3# cat /proc/sys/kernel/random/uuid |cut -c 1-8ed9e032c2. Get random numbers(8 digits)Method 1# echo $RANDOM |cksum |cut -c 1-823648321Method 2# openssl rand -...

5,701 0       LINUX INTERVIEW SHELL SCRIPT


  Algorithm : Reverse singly linked list

Questions about singly linked list are the lovers of interviewers during interviews given the characteristic that singly linked list is one-directional list and it's difficult to get the previous node of one node without some buffering tricks. In this post, we will demonstrate one of the most frequently asked question about singly linked list -- Reversing the singly list.Given the first node of a singly linked list, reverse the singly linked list. For example :A->B->C->DAfter reverse, it becomes:D->C->B->AThe general idea here is to changing the next node of one to its p...

5,429 0       C ALGORITHM INTERVIEW


  Jack Ma's interviews during Alibaba's IPO at NYSE

Alibaba has been listed on NYSE on 19 September. It becomes the largest IPO ever in the history of US stock exchange, larger than Facebook then the largest one. And after the trading closed on Friday, its share price closed at $93.89 per share, this makes it the second largest Internet company in the world following Google.Jack Ma, the founder of Alibaba, also becomes the richest person in China with a total wealth of $18.1 billion. He accepted interviews from different media during the IPO. Let's see what he has said post the IPO of Alibaba.The first one is from Fox Business, Jack Ma shared h...

5,179 0       INTERVIEW VIDEO IPO ALIBABA JACK MA


  What to put on whiteboard during an interview

As a programmer, you may go through different kinds of programming tests while interviewing for jobs. The most famous and difficult one may be the whiteboard test for lots of people. Usually the interviewer will give the candidate an algorithm problem or case study and ask the candidate to implement the algorithm with his/her favorite programming language. The code to be written is not too much but it requires the candidate to thoroughly consider different edge cases.So what does the interviewer expect to see on the whiteboard? We first need to understand the features of wh...

14,644 0       TIPS INTERVIEW WHITEBOARD TEST


  A crazy interview experience

How to be outstanding and get the offer after a job interview? Besides the strong technical background, we may still need some other skills such as how to ask questions during interview. Sometimes you may even do some crazy things. There is one question on Quora which is "What's the craziest thing you ever said (or did) at an interview and still got the job?". Among the answers, one answer is worth to be mentioned, the answer is from Stan Hanks and his answer is liked by 3859 people(As this article is being written). Let's have a look at what he said.The interviewer, a very senior technical gu...

3,315 0       INTERVIEW STRATEGY QUORA


  How to ask questions as an interviewee

Many people think that interview is a single side selection, in fact, interview is a two sides selection process. Not only the company selects you, but also you select the company. Interview provides a chance for both the company and you to know about each other. While the company is assessing you, you should also assess the company.The interviewers also know this, so they have the mental preparation and look forward to your questions and they are prepared to answer your questions. So do not waste the opportunity to ask questions to the company in an interview. And if you take the initiative t...

4,060 0       INTERVIEW QUESTION INTERVIEWEE