"Java software engineers design, build, and maintain systems that support and run java applications. Employers are looking for candidates who display strong organizational and communication skills as well as advanced technical skill within the java universe. During an interview, expect to answer a lot engineering questions as well as discuss past projects you have worked on."
↳
Take a string as function parameter. Copy this str value into a new var, then use .reverse() thereupon. Compare the reversed copy back against original string using turnery operator to set resVariable to "true" : "false". Return resVariable. Less
↳
(Using .split(""), as well as .join(""))
↳
const palindrome = (str) => str == str.reversed() palindrome('hello') // false palindrome('eve') // true Less
↳
public String getFirstLetters(String text) { String firstLetters = ""; text = text.replaceAll("[.,]", ""); // Replace dots, etc (optional) for(String s : text.split(" ")) { firstLetters += s.charAt(0); } return firstLetters; } Less
↳
let sentence = 'Big Green Dog' let words = sentence.split(' ') words.map((word) =>{ word.split('') console.log(word[0]) }) //output "B" "G" "D" Less
↳
public static void PrintFirstLetter( String s ){ If ( s.length == 0 ){ return; } String [ ] Words = s.split( “ “ ); for ( String word : Words ) { System.out.println( word.charAt(0)); } } Less
↳
I was thinking geographically distributed servers.
↳
Cf
↳
There's probably no real correct answer, though the solutions go from common to esoteric in a pretty normal progression: caching, shared-cache like memcache, optimize usage, prefetch, then get creative. This is more about testing reasoning and how far you'll go to solve a problem. Less
↳
wouldn't it just be return string.charAt(0) == string.charAt(0).toLowerCase()
↳
bool lower(string s) { if (s.length() == 0) {return false;} char f = s.at(0); return (f > 64 && f < 91); // ascii values } Here’s a C++ implementation that might (not) work. Not so good with Java. Less
↳
I fumbled in 1 questions which was the nail in the coffin.
↳
Because of diamond pattern, diamond pattern creates ambiguity and make problem for compiler. Anyway java supports multiple inheritances via interfaces. I think more convincing reason for not supporting multiple inheritance is complexity involved in constructor chaining, casting etc rather than diamond. Less
↳
Focus more on how hashmap works and its applications
↳
My answer: 1. Pause or isolate the problematic process/workflow if possible 2. Study the logs and relevant data 3. Try to reproduce locally (in a sandbox) 4. Try to reproduce in staging environment 5. Add and deploy fix, enable the process/workflow back 6. Follow up with affected customers via support Less
↳
please let me know if anyone got Job
↳
36. If you get call then follow this interview experience
↳
How many of you waiting after 3rd round