- 24
- 60 794
HappyTechie
āđāļāđāļēāļĢāđāļ§āļĄāđāļĄāļ·āđāļ 31 āļĄāļĩ.āļ. 2022
ð Welcome to Java Mastery, HappyTechie channel for mastering the art of Java programming! Whether you're a beginner taking your first steps into the world of coding or an experienced developer looking to enhance your Java skills, this channel is tailored just for you.
ð What You'll Find on Java Mastery
1ïļâĢ Beginner-Friendly Tutorials
2ïļâĢ In-Depth Concepts: Explore the depths of Java programming with our in-depth tutorials on object-oriented programming,
3ïļâĢ Project-Based Learning
4ïļâĢ Best Practices and Tips: Stay ahead of the curve with our best practices and coding tips. Discover industry-standard coding conventions and techniques that will make your code more efficient and maintainable.
5ïļâĢ Java Frameworks and Libraries: Explore popular Java frameworks and libraries such as Spring, Hibernate, and more. Unlock the power of these tools to streamline your development process and build scalable, robust applications.
ð What You'll Find on Java Mastery
1ïļâĢ Beginner-Friendly Tutorials
2ïļâĢ In-Depth Concepts: Explore the depths of Java programming with our in-depth tutorials on object-oriented programming,
3ïļâĢ Project-Based Learning
4ïļâĢ Best Practices and Tips: Stay ahead of the curve with our best practices and coding tips. Discover industry-standard coding conventions and techniques that will make your code more efficient and maintainable.
5ïļâĢ Java Frameworks and Libraries: Explore popular Java frameworks and libraries such as Spring, Hibernate, and more. Unlock the power of these tools to streamline your development process and build scalable, robust applications.
UBS Hiring Back-end Java Expert Challenge|Aug-2024|UBS coding challenge HackerRank
#UBS
UBS coding challenge for Software Engineer | UBS Hacker rank Online Test| UBS POC
This Test Is for Java backend developer and for 4+ years of experience in same.
#ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep
#InterviewExperience #DataStructures #Algorithms #ProblemSolving #InterviewProcess #TechnicalInterview #InterviewPreparation #CareerAdvice, #synechron
ava, Spring, Spring Boot, Microservices, AWS Cloud, Mongo DB, SQL Database, Spring Cloud, Kafka, Java8, Restful Webservices, Angular JS, DevOps Interview Questions And Answers
java interview questions and answers for experienced
java interview questions and answers for freshers
interview java programming questions and answers
Java Programming Interview Questions And Answers
most asked Java interview questions and answers
Real Java Interview Questions and Answers
top java programming interview questions
Java Interview Questions And Answers
java spring boot interview questions
top java coding interview questions
java real time project explanation
java real time interview questions
Top Core Java Interview Questions
Interview Questions And Answers
java interview coding questions
java developer interview video
Globant-Assessment java developer
#careeradvice #jobsearch #interviewconfidence #interviewskills #interviewsuccess #interviewprocess #jobinterviewtips #jobsearchtips #interviewtips #interviewpreparation
#javainterviewquestions #SpringBootInterviewQuestions #javainterviewquestion2024 #javainterviewquestion #Javainterviewquestionsandanswersforfreshers #JavaforExperienced #Top100javaInterviewquestions #interview #leetcode #javainterviewprograms #javacoding #latestjavainterviewquestion #Commonlyaskjavainterviewquestions #Mostaskjavainterviewquestionwithanswers #Javainterview #oops #DevOps #Kafka #Angular #Microservice #jobseekers #SQL #javadeveloper #AWS #javatraining
#javaquestionswithanswers #javainterview2024 #2024javainterview #javainterviewcoding #Oopsinterviewquestions #campusinterview #javaquestion #softwareengineering #springbootinterviewquestions
#popular #mockinterview #java8â #coreJava #JavaInterviewQuestionsandAnswersââââ #CoreJavaInterviewQuestionsâ #javainstitute #InterviewQA #javaprogrammer #Jobs #jobsearch #softwareengineer
#JavaInterviewQuestionsandAnswersForExperiencedâ #JavaTutorialâ #JavaProgrammingâ #JavaTutorialForBeginnersâ #javatechieâ ââ#technicalinterview #javadevelopers #softwaredeveloper
#interviewquestion #java8interviewquestions #javacourse #javamockinterview #Telephonic2024 #TelephonicInterviewquestions2024 #JavaTelephonic2024
#microservices #kubernetes #java #aws #Docker #microservicesarchitecture #cloudcomputing #developer #cloud #software #coding #arch #technology #programming #softwarearchitecture
âĒexperience as a software engineer in a globally distributed team working with any hands on experience in Java/JavaEE/Spring/Spark
âĒexposure to Unix/Linux environment
âĒshell scripting
âĒwell aware of lifecycle like IntelliJ IDEA,JIRA, GITLab
âĒfamiliarity working with agile methodology
âĒstrong database and data analysis skills
âĒhistory of producing secure and clean code that is stable, operational, consistent and well-performing
âĒmethodology know-how on how to ensure that project deliverables meet industry best practices
âĒstrong analytical, problem-solving and synthesizing skills (you know how to figure things out)
âĒeffective within the complexity, constraints and boundaries of a leading global organization, operating in a highly regulated industry, running on bespoke software
âĒflexible and resilient team player with strong interpersonal skills taking initiative to drive things forward
âĒkeen to develop subject matter expertise on our core products and solutions overall
UBS coding challenge for Software Engineer | UBS Hacker rank Online Test| UBS POC
This Test Is for Java backend developer and for 4+ years of experience in same.
#ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep
#InterviewExperience #DataStructures #Algorithms #ProblemSolving #InterviewProcess #TechnicalInterview #InterviewPreparation #CareerAdvice, #synechron
ava, Spring, Spring Boot, Microservices, AWS Cloud, Mongo DB, SQL Database, Spring Cloud, Kafka, Java8, Restful Webservices, Angular JS, DevOps Interview Questions And Answers
java interview questions and answers for experienced
java interview questions and answers for freshers
interview java programming questions and answers
Java Programming Interview Questions And Answers
most asked Java interview questions and answers
Real Java Interview Questions and Answers
top java programming interview questions
Java Interview Questions And Answers
java spring boot interview questions
top java coding interview questions
java real time project explanation
java real time interview questions
Top Core Java Interview Questions
Interview Questions And Answers
java interview coding questions
java developer interview video
Globant-Assessment java developer
#careeradvice #jobsearch #interviewconfidence #interviewskills #interviewsuccess #interviewprocess #jobinterviewtips #jobsearchtips #interviewtips #interviewpreparation
#javainterviewquestions #SpringBootInterviewQuestions #javainterviewquestion2024 #javainterviewquestion #Javainterviewquestionsandanswersforfreshers #JavaforExperienced #Top100javaInterviewquestions #interview #leetcode #javainterviewprograms #javacoding #latestjavainterviewquestion #Commonlyaskjavainterviewquestions #Mostaskjavainterviewquestionwithanswers #Javainterview #oops #DevOps #Kafka #Angular #Microservice #jobseekers #SQL #javadeveloper #AWS #javatraining
#javaquestionswithanswers #javainterview2024 #2024javainterview #javainterviewcoding #Oopsinterviewquestions #campusinterview #javaquestion #softwareengineering #springbootinterviewquestions
#popular #mockinterview #java8â #coreJava #JavaInterviewQuestionsandAnswersââââ #CoreJavaInterviewQuestionsâ #javainstitute #InterviewQA #javaprogrammer #Jobs #jobsearch #softwareengineer
#JavaInterviewQuestionsandAnswersForExperiencedâ #JavaTutorialâ #JavaProgrammingâ #JavaTutorialForBeginnersâ #javatechieâ ââ#technicalinterview #javadevelopers #softwaredeveloper
#interviewquestion #java8interviewquestions #javacourse #javamockinterview #Telephonic2024 #TelephonicInterviewquestions2024 #JavaTelephonic2024
#microservices #kubernetes #java #aws #Docker #microservicesarchitecture #cloudcomputing #developer #cloud #software #coding #arch #technology #programming #softwarearchitecture
âĒexperience as a software engineer in a globally distributed team working with any hands on experience in Java/JavaEE/Spring/Spark
âĒexposure to Unix/Linux environment
âĒshell scripting
âĒwell aware of lifecycle like IntelliJ IDEA,JIRA, GITLab
âĒfamiliarity working with agile methodology
âĒstrong database and data analysis skills
âĒhistory of producing secure and clean code that is stable, operational, consistent and well-performing
âĒmethodology know-how on how to ensure that project deliverables meet industry best practices
âĒstrong analytical, problem-solving and synthesizing skills (you know how to figure things out)
âĒeffective within the complexity, constraints and boundaries of a leading global organization, operating in a highly regulated industry, running on bespoke software
âĒflexible and resilient team player with strong interpersonal skills taking initiative to drive things forward
âĒkeen to develop subject matter expertise on our core products and solutions overall
āļĄāļļāļĄāļĄāļāļ: 713
āļ§āļĩāļāļĩāđāļ
Senior Java Developer assessment for Globant |GLB
āļĄāļļāļĄāļĄāļāļ 2.4K2 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
#globant This Test Is for Java backend developer and for 4 years of experience in same. #ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep #InterviewExperience #DataStructures #Algorithms #ProblemSolving #InterviewProcess #TechnicalInterview #InterviewPreparation #CareerAdvice, #synechron ava, Spring, Spring Boot, M...
Codility Test Synechron|Online real-time assessment|Synechron Java developers 2024
āļĄāļļāļĄāļĄāļāļ 2.5K2 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
This Test Is for Java backend developer and for 4 years of experience in same. #Synechron, #ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep #InterviewExperience #DataStructures #Algorithms #ProblemSolving #InterviewProcess #TechnicalInterview #InterviewPreparation #CareerAdvice, #synechron ava, Spring, Spring Boot...
FIS Global Assessment 2024|realtime interview for FIS|#FISGlobal|#FIS
āļĄāļļāļĄāļĄāļāļ 1892 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
24 July 2024 Guys Few Answers are correct, few are not correct, take use of Only Questions and prepare answers then attend the test don't depend on My answers Join us in this video as we share a real-time interview/online Assessment experience at FIS Global, a leading provider of technology solutions for the financial industry. Gain valuable insights into the interview process and the specific ...
Senior Java Developer assessment for Globant-GLB|Globant Assessment
āļĄāļļāļĄāļĄāļāļ 6192 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
#globant ,#globant #globant This Test Is for Java backend developer and for 4 years of experience in same. Note: All The answers which i have selected are not correct Please verify answers before you attend the test #ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep #InterviewExperience #DataStructures #Algorithms #...
How to run multiple instances of the same application in Springboot|Microservices|different PORT|API
āļĄāļļāļĄāļĄāļāļ 1243 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
In This video explained, how to run multiple instances of the same application/microservices in Spring Boot microservice architectures The VM Option is -Dserver.port=XXXX In this video we will see how we can run same sprig boot application on different port without changing it from application.properties file #springboot3 ,#microservicesarchitecture #windows #javabackend #java #microservice #sh...
IRIS Business Backend Developer Java Assessment 1|HireHunch Team|May 2024|with Answers
āļĄāļļāļĄāļĄāļāļ 2344 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IRIS Business Backend-Developer (Java) Assessment 1| Java backend developer| 4 years experienced developer| #interview #irs #javainterviewquestions #interviewquestions #javainterviewquestionsandanswers #corejavainterviewquestions #java #springbootinterviewquestions
Wipro Codility test|Coding test Wipro| 23-05-2023|realtime assessment|2024|with answers
āļĄāļļāļĄāļĄāļāļ 8914 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
This test is for 4 Years Experienced, java Backend Developer, On Skill set Java, Rest API, Spring boot, Spring framework Note: Do not copy paste the code in the test otherwise they wont respond means that they have copy paste detector 23 May 2024 Realtime| Realtime Assessments for Java backend technologies| Java|Spring Boot|Microservices|SQL Wipro - Codility Test Java Spring 2024 for 4 Years Ex...
Permission denied gitHub issue resolved|fatal: unable to access|requested URL returned error: 403
āļĄāļļāļĄāļĄāļāļ 6265 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
$ git push -u origin main remote: Permission to username/junitrepo.git denied to username. fatal: unable to access 'github.com/username/repo_name.git/': The requested URL returned error: 403 remote: Permission to repository denied. URL returned error: 403 #git #github #issue #githublearning Issue #Github #Git #fatalError #requestedurlreturnederror403 #gitpush #2024,
Altimetrik Screening Test Online | Real Time Screening Test|HackerRank|April -2024
āļĄāļļāļĄāļĄāļāļ 1.1K5 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
HackerRank|April -2024|Altimetrik Screening Test Online | Real Time Screening Test #Altimetrik #ScreeningTest #CodingAssessment #TechInterview #CareerDevelopment #SoftwareEngineering #RealTimeCoding #TechCareer #InterviewPrep #AltimetrikCareers #altimetrik #Altimetrik #InterviewExperience #DataStructures #Algorithms #ProblemSolving #InterviewProcess #TechnicalInterview #InterviewPreparation #Ca...
Wissen Java Online Test L 2 |by Wissen Technology Pvt ltd|Real HackerEarth Online Test-2024
āļĄāļļāļĄāļĄāļāļ 2K6 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
27 March 2024 Java Online Assessment with Answers, pause the video and take a note of answers if you want, I don't have separate link for answers please cooperate. thanks Wissen Infotech Interview Questions Experienced 2024 | Java Spring Boot Microservice #wissen #wissenistmacht #wissenschaft #wissenswert #wissen #javainterviewquestions #java #interview #JavaProgramming #HackerEarthTest #LiveWi...
Wipro RealTime codility test|2024|java + Spring framework online interview for wipro|assessment
āļĄāļļāļĄāļĄāļāļ 2.4K7 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
Wipro - Codility Test Java Spring 2024 for 4 Years Experience WIPRO realtime assessment for java developer 2024 #java #wipro #interview #interviewquestions #experienced #javainterviewquestions #javainterviewquestionsandanswers #codeing Java Programming | Placement Coding Questions | Wipro Assessment|wipro realtime assessment | Wipro Talent Next Program | #telephonicinterview #ibm #javadeveloper...
Tiger Analytics hackerearth test|Java Assessment|realtime assessment|2024|Online Test | Recruitment
āļĄāļļāļĄāļĄāļāļ 1217 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
Guys Few Answers are correct, few are not correct, take use of Only Questions and prepare answers then attend the test dont depend on My awswers #tigeranalytics #TigerAnalyticsInterviewExperience #TigerAnalytics In this video, I have talked about java developer & engineering interview question asked in tiger analytics. All of the above question was asked in actual interview of mine. For more qu...
Value Momentum | java coding Realtime assessment Feb|2024|VALUE MOMENTUM | assessment
āļĄāļļāļĄāļĄāļāļ 5027 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
Guys Few Answers are correct, few are not correct, take use of Only Questions and prepare answers then attend the test dont depend on My answers This test is for 4 years experienced java candidates VALUE MOMENTUM | IMPORTANT UPDATES AFTER SELECTION #ValueMomentum #updates #training #management Value Momentum Interview Question for java developer Experience @ValuemomentumInc @ValuemomentumInc #i...
Infosys Realtime Assessment| Java spring boot microservices | hibernate interview|
āļĄāļļāļĄāļĄāļāļ 3737 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
Guys Few Answers are correct, few are not correct, take use of Only Questions and prepare answers then attend the test dont depend on My awswers #infosys ,#infosysinterview ,#java ,#infosys, #javadeveloper #springbootinterviewquestions ,#microservicesarchitecture ,#microservice #springboot #microservices #interviewquestions #techbull, java mock interview java interview questions and answers jav...
javax servlet http HttpServlet according to the project Dynamic WebModule|2024|The default superclas
āļĄāļļāļĄāļĄāļāļ 3.6K8 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
javax servlet http HttpServlet according to the project Dynamic WebModule|2024|The default superclas
IBM Realtime assessment for Java Backend Developer 14 Jan 2024|IBM Application developer
āļĄāļļāļĄāļĄāļāļ 8K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IBM Realtime assessment for Java Backend Developer 14 Jan 2024|IBM Application developer
IBM trait based assessment|2024 |App developer|Recruitment process|Personality test|Behaviour test.
āļĄāļļāļĄāļĄāļāļ 2.6K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IBM trait based assessment|2024 |App developer|Recruitment process|Personality test|Behaviour test.
IBM Java Full Stack Developer Assessment 09-01-2024|IBM HackerRank Test|
āļĄāļļāļĄāļĄāļāļ 3.7K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IBM Java Full Stack Developer Assessment 09-01-2024|IBM HackerRank Test|
#3 IBM Realtime assessment Dec-2023|2024 with answers|IBM Coding Questions2024|IBM Coding Assessment
āļĄāļļāļĄāļĄāļāļ 2.4K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
#3 IBM Realtime assessment Dec-2023|2024 with answers|IBM Coding Questions2024|IBM Coding Assessment
IBM Realtime assessment-2|2024|IBM Interview questions and answers| IBM |IBM Coding Assessment
āļĄāļļāļĄāļĄāļāļ 5K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IBM Realtime assessment-2|2024|IBM Interview questions and answers| IBM |IBM Coding Assessment
Cognizant realtime assessment 2023|2024#cognizant ,#cognizantrecruitment
āļĄāļļāļĄāļĄāļāļ 2599 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
Cognizant realtime assessment 2023|2024#cognizant ,#cognizantrecruitment
IBM Realtime assessment 2023 2024 with answers| IBM Coding Questions 2023|2024|IBM Coding Assessment
āļĄāļļāļĄāļĄāļāļ 20K9 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
IBM Realtime assessment 2023 2024 with answers| IBM Coding Questions 2023|2024|IBM Coding Assessment
FIS Global Assessment 2023|realtime interview for FIS|#FISGlobal|#FIS
āļĄāļļāļĄāļĄāļāļ 4629 āļŦāļĨāļēāļĒāđāļāļ·āļāļāļāđāļāļ
FIS Global Assessment 2023|realtime interview for FIS|#FISGlobal|#FIS
You're a legend sir. Thank you so much. Fuck this bloody error
Cant we do 1st prob without hashmap
@@Anonymous-wx8kk , we can do it, it depends upon your coding capabilities
Question 49 & 50 are the couldn't cover unfortunately are they coding questions or just mcqs ?
@@Sushant.Godbharle MCQs
Today i have completed coding round Not all the test cases passed for 2 codes 70 percent completed do i get nextround invite?
Total how many rounds...? What are the next round
Is this mandatory to pass for offer, because i got cleared technical, manager and HR rounds and now received for codility test. Shall we do on mobile also?
If you have already completed Technical and HR, then its not required, that may be different, I think you have applied multiple times for wipro that's why you got codility test link, Codility test will be taken before Your Technical and HR rounds, best suggestion is, you just get Confirmation from your HR
@@HappyTechies HR said you are already selected but once complete codility test then will go for offer release.
@@sudheerReddy-r9z OMG, then you have to complete it
Completed and replied to mail
@@sudheerkumarreddy3624ho sudheer bro can you reply back to mitho matladali kochem
Nice question
Clean solution :)
Did you pass?
Yes, I passed this assessment, after assessment there will be two more technical interviews, I failed in L3 interview
@@HappyTechies bro one day before I am also done the same assessment, can you provide me with interview round questions, it will help us
@@vishaljadhav-h3o , I have given number of interviews ,I need to check for this company interview questions soon I'll upload those too.
@@HappyTechiesyes please check thanks
@@vishaljadhav-h3o After assessment there will be 2 more interview rounds. I failed in final round some questions they have asked are: Q1. what is the Time complexity and space complexity of HashMap when there is hash collision Q2. HashMap Implementation with programmatical demonstration. Q3. Explanation of Concurrent collections. Q4. Can we overload main method and can we override main method Q5. different ways to create String objects Q6. How will you integrate third party api in your rest controllers Q6. Explain Bean life cycle and @PostConstruct and @PreDestruct annotations Q7. write a java program to print most frequent character in the given String Q8. find the average salary and total salary of an organization using java 8 Q9. Can you create get employee and update employee rest api (Only controller class)for employee object. Q10. Can you explain and implement One-to-Many mapping in jpa or Hibernate Q11. What is cascading and types of cascading? Q12. How Microservices communicate with each other explain programmatical implementation, (Interviewer Not satisfied with my theoretical explanation) Q13. How will you handle exceptions in spring boot application ? Q15. What are the bean scope available in spring boot app? Q16. Difference between @PathVariable and @RequestParam ? Q17. Internal working of HashSet? Q18. Write SQL Query to find the 3rd highest Salary from the employees table Q19. Explain Joins in SQL Note: These Questions they have asked but totally it depends on Interviewer, they may ask you deferent questions as well, later don't blame me.
import java.io.*; import java.util.*; class Result { /* * Complete the 'getProductSuggestions' function below. * * The function is expected to return a 2D_STRING_ARRAY. * The function accepts following parameters: * 1. STRING_ARRAY products * 2. STRING search */ public static List<List<String>> getProductSuggestions(List<String> products, String search) { // Sort the products list lexicographically Collections.sort(products); List<List<String>> suggestions = new ArrayList<>(); String prefix = ""; for (char c : search.toCharArray()) { prefix += c; List<String> matches = new ArrayList<>(); // Use binary search to quickly find the starting point of the prefix int start = Collections.binarySearch(products, prefix); // If exact match isn't found, binarySearch returns a negative value // The negative value gives the insertion point where the prefix would be if (start < 0) { start = -start - 1; } // Collect up to three lexicographically smallest matches for (int i = start; i < products.size() && matches.size() < 3; i++) { if (products.get(i).startsWith(prefix)) { matches.add(products.get(i)); } else { break; // Since the list is sorted, no need to check further if the prefix doesn't match } } suggestions.add(matches); } return suggestions; } } public class Solution { public static void main(String[] args) throws IOException { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH"))); int productsCount = Integer.parseInt(bufferedReader.readLine().trim()); List<String> products = new ArrayList<>(); for (int i = 0; i < productsCount; i++) { String productsItem = bufferedReader.readLine(); products.add(productsItem); } String search = bufferedReader.readLine(); List<List<String>> result = Result.getProductSuggestions(products, search); for (int i = 0; i < result.size(); i++) { for (int j = 0; j < result.get(i).size(); j++) { bufferedWriter.write(result.get(i).get(j)); if (j != result.get(i).size() - 1) { bufferedWriter.write(" "); } } if (i != result.size() - 1) { bufferedWriter.write(" "); } } bufferedWriter.newLine(); bufferedReader.close(); bufferedWriter.close(); } } Explanation: Sorting the Products: The list of products is sorted lexicographically to ensure that we can easily find the smallest matches. Iterating Through Search Prefixes: For each character in the search string, we build a prefix and find the matching products that start with this prefix. Binary Search for Optimization: We use Collections.binarySearch to quickly locate the starting point for matching products with the current prefix. Adding Matches: We collect up to three matches for each prefix and add them to the result list. Output Formatting: Finally, we format the output as a list of lists where each inner list contains the matching products for the corresponding prefix of the search string. This solution is efficient and leverages the sorted nature of the products list to quickly find the smallest lexicographical matches.
Thank you for uploading this sirr
Do we have to keep our camera switched on while giving the test?
yes , camera will be on while you are giving test
Intersting, for what headquarters did you apply? or what country?
India location
class Solution { public int solution(String S) { int patches = 0; int i = 0; while (i < S.length()) { if (S.charAt(i) == 'X') { // Place a patch covering segments i, i+1, and i+2 patches++; i += 3; } else { i++; } } return patches; } } Explanation: Initialize patches to 0, which will count the number of patches used. Initialize i to 0, which will be used to traverse the string. While i is less than the length of the string S: If the current character S.charAt(i) is 'X', it means we need to place a patch. Increment the patches counter by 1 and move i by 3 positions to the right because the patch covers the current segment and the next two segments. If the current character is not 'X', just move i by 1 position to the right. This algorithm ensures that you cover all potholes with the minimum number of patches. The time complexity is O(N), where N is the length of the string S, making it efficient for the given constraints.
I love you brother âĪâĪâĪ
your code is not running, whatever you saved in github. please share proper code. Showing nullpointerexception
You did not show test cases passed or not?
Thanks it helped alot!
In the foo(1234) question, the correct answer is 4321001234
kal tera bhi hai kya bro test?
@@RoshanYadav-kf5jj ha bro
@@soul-music2057 teams par screen share krayi thi while doing test
@@Wanderer-c5f Same question tha kya?
â@@decomilingwithshubho abhi kal hai mera
YES IT WORK âĪâĪâĪâĪ
Is this for freshers too
No its not for freshers , its for 4+ years experienced candidates
Hii bro 1) ques 10 test case passed and for 2 ) 4 passed is there any chance for next round?
yes there is a chance wait and see
what was the time allocated for the test?
60mins
They didnt given any option to turn on the camera or mic,we are directly taking the test right .then how can this test is proctored
vandana have you completed this coding round recently got that yesterday
@@irfankhan2310-w7w yes I have completed the test without proctoring
But they have detector and if you try to open new tab at that time it will give warnings
@@irfankhan2310-w7w 4 days ago I have completed
@@HappyTechieshow many days it took to get the result of the assessment
Tq brother ðĒâĪ
Thank you it workedââ
Hello
Hi can you plz provide questions asked in next technical round
L1 I have cleared and failed in L2 , In L1 I faced direct questions like HashMap internal working , HashSet, Exception Handling, Singleton class, Java 8 features, key features of Spring boot, Transaction handling, Mapping strategies in Hibernate, Cascading in hibernate, Microservice communication, distributed tracing, scaling of Microservices' , Concat two columns in MySQL, Find third Highest salary in MYSQL
@@HappyTechies Thank you very much boss
@@HappyTechies what was the questions in L2
@@ShlokKulkarni-f7i Full of scenario based questions, Spring Security JWT implementation, Sop, Rest API, @Tansient, And microservices scenarios like fallback mechanism, retry mechanism, microservices communication using WebClient with realtime scenario . etc
@@HappyTechies Thank you boss . I have technical round 1 in 2 days ...I'll let u know
How much time was allocated for screening?
60mins/1hour, and that defends on number of questions and complexity of questions, for me it was 1 hour
How much time it will take for result after test?
max a week
Hey ..is this codility test proctored and are the questions are tough
@@elumin9206 yes its protected, the camera will be on , easy/tough depends on your coding skills
I have assessment for the role of application developer at IBM what coding question i can expect. please reply
Any mail after coding round?
there will be 2 coding questions and 1 hour time will be there, its difficult to say which questions you will get, better you prepare these kind of questions (in video i have shown) and there is less chance for repeating these questions
@@HappyTechies I have completed coding round all test cases passed bro
@@reenatholla4446 was assessment easy and was camera on?
@@sanju0550 if you are very good in coding then it feels easy, usually coding tests are difficult than an Interview
Do they send any assessment completion mail after the submission?... I have given this assessment but i haven't received any completion mail (like the assessment is completed or something) and also the link for this test is opening again.
if the vacancy is closed then they won't respond at all
How to solve this on mac os
I don't have idea about MAC OS , but you Do search the same you want in TH-cam, if not able to find out then let me know, I'll do research about it and let you know.
============================================================================== Task 1: ============================================================================== you are working on system that helps you to manage tasks on a todo list. your job is to implement an endpoint that allows these tasks to updated. In order to achieve this, you should use the Hibernate and spring frameworks. Application >Spring boot application version 3.0 >spring-boot-starter-data-jpa and spring-boot-starter-wed modules included. >Database access id fully configured. >Hibernate version latest Database Tasks are stored in a relational database. the database schema lookes like this CREATE TABLE task( id bigint NOT NULL, description varchar(200) NOT NULL, priority bigint, PRIMARY KEY(ID) ) ; Endpoint Sending a request: PUT /tasks/{id} with request body: { "description": "task's description" "priority": 5 } should update the description and priority of the task with id=ID. Changes should be stored in the database. your tasks: configure the tasks class as a Hibernate entity implement an endpoint as described above, Furthermore, it should meet the following requirements: >endpoint should return error code 404 if a task with the given id does not exist. In response , the server should return the following JSON: { "message": "cannot find the task with given id" "status":404 } >Endpoint should return error code 400 if the task description is null(or key "description" is not present in the request JSON). In response, the server should return the following JSON: { "message": " task description is required" "status":400 } >Endpoint should return error code 200 when the task is successfully updated. the response should be the same as the request body, for example: { "description": "task's description" "priority": 5 } ======================================================= Solution: ========================================================= Create the Task Entity: Annotate the Task class with JPA annotations to map it to the database table. Create the TaskRepository Interface: Extend JpaRepository to provide CRUD operations for the Task entity. Create the TaskController Class: Implement the PUT endpoint to update the task. Add error handling for the conditions mentioned (task not found and invalid request). Application Configuration: Ensure the application is correctly set up with the necessary Spring Boot and Hibernate configurations. =-----------------------------------------------------------==--------------------------------------------- 1. Task Entity Note: In my case I did not clear task one and was having errors plz you pleople do not copy paste. copy pasting is not allowed, even answer of task 1 is partially correct , modify it based on the requirement, and Task 2 is 100% correct import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Task { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String description; private Long priority; // Getters and Setters public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getPriority() { return priority; } public void setPriority(Long priority) { this.priority = priority; } } 2. TaskRepository import com.example.demo.entity.Task; import org.springframework.data.jpa.repository.JpaRepository; public interface TaskRepository extends JpaRepository<Task, Long> { } 3. TaskController import com.example.demo.entity.Task; import com.example.demo.repository.TaskRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.util.Optional; @RestController @RequestMapping("/tasks") public class TaskController { @Autowired private TaskRepository taskRepository; @PutMapping("/{id}") public ResponseEntity<?> updateTask(@PathVariable Long id, @RequestBody Task task) { if (task.getDescription() == null) { return ResponseEntity.badRequest().body(new ErrorResponse("task description is required", 400)); } Optional<Task> existingTaskOptional = taskRepository.findById(id); if (!existingTaskOptional.isPresent()) { return ResponseEntity.status(404).body(new ErrorResponse("cannot find the task with given id", 404)); } Task existingTask = existingTaskOptional.get(); existingTask.setDescription(task.getDescription()); existingTask.setPriority(task.getPriority()); taskRepository.save(existingTask); return ResponseEntity.ok(task); } static class ErrorResponse { private String message; private int status; public ErrorResponse(String message, int status) { this.message = message; this.status = status; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } } } 4. Application Configuration Ensure that your application.properties is correctly configured for database access, e.g.,properties spring.datasource.url=jdbc:mysql://localhost:3306/tododb spring.datasource.username=root spring.datasource.password=yourpassword spring.jpa.hibernate.ddl-auto=update ========================================================================================================================= Task 2 ========================================================================================================================= There is an array A, consisting of N integers, and two integers, L and R. your task is to find the shortest fragment of consecutive elements of A that contains every integer from L to R inclusive. Write a function: class Solution{ public int solution(int[] A, int L, int R); } that, given A,L and R, returns the length of the shortes fragment of A that contains all numbers from L to R, If no such fragment exists, the function should return -1. Examples: 1. Given A=[2,1,4,3,2,1,1,4], L=2,R=4, the function should return 3. The shortest fragment containing the numbers 2,3 and 4 starts at the third element of A:[2,1,4,2,1,1,4] 2.Given A=[10^9, 1,1,1,1,1,10^9-1],L=10^9-1 and R=10^9, the function should return 7. the fragment is the whole array. 3.GivenA=[1,3,5,7], L=3 and R=5, the function should return -1. Array A does not contain the number 4. Write an efficient algorithem for the following assumptions: .N is an integer within the range[1.. 100,000]; .1<=L<=R<=1000000000; .each element of Array A is an integer within the range[1..1000000000]. ================================================= Solution/Answer ============================================ class Solution { public int solution(int[] A, int L, int R) { int n = A.length; int minLength = Integer.MAX_VALUE; Map<Integer, Integer> countMap = new HashMap<>(); int uniqueCount = 0; int left = 0; for (int right = 0; right < n; right++) { int currentElement = A[right]; // Only consider elements in the range [L, R] if (currentElement >= L && currentElement <= R) { countMap.put(currentElement, countMap.getOrDefault(currentElement, 0) + 1); if (countMap.get(currentElement) == 1) { uniqueCount++; } } // Check if the current window contains all integers from L to R while (uniqueCount == (R - L + 1)) { minLength = Math.min(minLength, right - left + 1); int leftElement = A[left]; if (leftElement >= L && leftElement <= R) { countMap.put(leftElement, countMap.get(leftElement) - 1); if (countMap.get(leftElement) == 0) { uniqueCount--; } } left++; } } return minLength == Integer.MAX_VALUE ? -1 : minLength; } public static void main(String[] args) { Solution sol = new Solution(); System.out.println(sol.solution(new int[]{2, 1, 4, 3, 2, 1, 1, 4}, 2, 4)); // Output: 3 System.out.println(sol.solution(new int[]{1000000000, 1, 1, 1, 1, 1, 999999999}, 999999999, 1000000000)); // Output: 7 System.out.println(sol.solution(new int[]{1, 3, 5, 7}, 3, 5)); // Output: -1 } } Thanks, Please comment if anything info needed regarding the same.
very nice thank you
Which exam is it ?
Can we navigate to google to check the logics
not allowed
Thank you so much Sirð
Wc, PLZ subscribe if you really like videos
Hello Techbull. These are experienced interview questions otherwise Freshers one.
these Q's are for 4+Yrs experienced
What decisions will be made based on codility exam?
if you clear the test, they will call you regarding next round of interview,
Hey ..is this codility test proctored and are the questions are tough
We had our codility today and in 1 question only 1 test case passed and in 2nd only 1 test case remained other passed...so did I cleared codility??
mostly you will get response from them, wait and see
Hey ..is this codility test proctored and are the questions are tough
@@elumin9206 yes it is
Hey what is the criteria to pass it??
minimum 50% is the criteria. to get cleared the test
Hey ..is this codility test proctored and are the questions are tough
@@elumin9206 Yes the codility test is proctored and it is tough also
thanks
Wc, PLZ subscribe if you really like videos
i have completed the trait based assessment 2 months back but now there is no update so what should i do. and another small doubt im qualified or not for the further rounds
yes they don't respond sometime, but wait and see
Bro are you free tomorrow? i have ibm exam...
Thank You So Much Sir ðð
Wc, Plz subscribe if you really like videos
Hi bro i have completed the assessment before 1 day in backend developer role which consists of 1 coding and i database question and i have passed all the test cases and i solve the query also ,my doubt is when i get the next round details either i will select or not And next one is what is the next round bro
You will get notification mail from the IBM team asap
But i didn't get any mail till 2days but I solve all test case 12 test case also passed and I got cleared the query also
@@vignesh.r8632 they will respond, wait and see
Ok bro
Thank you sir this is very useful video with the help of this video I am solved my problem thank you so much
okay, and support me by subscribing my channel, thanx
bro where is pom.xml?
If you have created maven project then, check your project Pom will be there
Has anyone cleared ibm backend interview??
Hii harshita .Kya ap bata sakte ho apne coding round kaise clear kiya
Please tell me the website in which you are got the right answers of IBM questions,
Sir thanks a lot sir ð i spent more time for solve this error, finally i saw u r video it solved,âĪ