↳
if files are all inside the arraylist/linked list called 'files' then: while(files.hasNext()) { file = files.next(); long fileDate = file.getDateofCreation(); long currentDate = system.getCurrentDate(); long diff = currentDate - fileDate; long yesterday = currentDate - (24 * 60 * 60 * 1000); //yesterday in milliseconds hrs * min * secs if ( diff > yesterday) selectTheFile(file); else dicardTheFile(file); } Less
↳
If you are in the directory that has all the files you wanna sort, I believe there's a unix command to use: find -maxdepth 1 -type f -mtime 1 Less
↳
find . -mtime -1
↳
Branching by feature: code release from trunk; branching by release: release directly from branch Less
↳
Allmost all version control system today support branching . It basically independent line of work that stem from one central code base. Less
↳
I was new to Git and didnt know much about strategies with branching.
↳
Not a hard question, just don't take it at face value. They're looking for efficient elegant code. Remember that you don't have to compute every point in the circle, just 1/8th of the arc and then permutate those coordinates across (+/-x, +/-y) and (+/-y, +/-x). Use Pythagorean's theorem to generate the y coord from the x coord but also remember that the radius doesn't change so precompute it once rather than each time through your loop. I think the bottom line is don't just give them what they ask for at face value, give them the most elegant and efficient code you can think of. Less
↳
The key question I had is, "how many vertices do we draw for a given circle?" In person, I would probably ask how to handle this, but in a general case you can take it as a parameter. I've done this below as the "resolution" variable. I also assume the units are all doubles. void drawCircle(double x, double y, double radius, int resolution) { // Start at zero radians, and increment this many degrees each time. double degreeInc = 2*PI / (double) resolution; for(double deg = 0; deg < 2*PI; deg += degreeInc) { drawPt(x + radius*cos(deg), y + radius*cos(deg)); } } Less
↳
installed almost everything successfully :)
↳
Read the reviews. DO NOT move yourself across country to work there. This is a serious warning. If you do go to interview, start asking random employees (not temp workers) how long they have been there. Very, very few make it past 4 years. Less
↳
Take the video posted here to your interview. Then ask how many of the people in the video are still working for the company. I bet the answer will help with your decision. Less
↳
ls or ll
↳
ls -lr
↳
Our aptitude tests are designed to test for the key skills required in our Solutions Development and Release employees: logic and reasoning. They have been developed by occupational psychologists so I am confident that they are both a relevant and fair way to assess the key skills of a graduate employee. We do set our pass mark high as we have years of research and data to highlight that our successful Developers and Release Engineers have achieved 75% pass mark, so we are keen to recruit the top talent. Less
↳
Answer the attention to detail related to my past work.
↳
What are technical round questions ?
↳
i can manage an event easily, i can handle a team under me