Skip to contentSkip to footer
  • Community
  • Jobs
  • Companies
  • Salaries
  • For employers
      Notifications

      Loading...

      Elevate your career

      Discover your earning potential, land dream jobs, and share work-life insights anonymously.

      employer cover photo
      employer logo
      employer logo

      UBS

      Engaged employer

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: UBS reviews | UBS jobs | UBS salaries | UBS benefits
      UBS interviewsUBS Backend Java Developer interviewsUBS interview


      Glassdoor

      • About / Press
      • Awards
      • Blog
      • Research
      • Contact Us
      • Guides

      Employers

      • Free Employer Account
      • Employer Centre
      • Employers Blog

      Information

      • Help
      • Guidelines
      • Terms of Use
      • Privacy and Ad Choices
      • Do Not Sell Or Share My Information
      • Cookie Consent Tool
      • Security

      Work With Us

      • Advertisers
      • Careers
      Download the App

      • Browse by:
      • Companies
      • Jobs
      • Locations
      • Communities
      • Recent posts

      Copyright © 2008-2026. Glassdoor LLC. "Glassdoor," "Worklife Pro," "Bowls" and logo are proprietary trademarks of Glassdoor LLC.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Bowls

      Get actionable career advice tailored to you by joining more bowls.

      Followed companies

      Stay ahead in opportunities and insider tips by following your dream companies.

      Job searches

      Get personalised job recommendations and updates by starting your searches.

      Backend Java Developer Interview

      3 Nov 2023
      Anonymous interview candidate
      London, England
      No offer
      Neutral experience
      Difficult interview

      Application

      I applied online. The process took 2 weeks. I interviewed at UBS (London, England) in Oct 2023

      Interview

      I applied on LinkedIn for the role of Backend Java Expert in mid-October 2023 and got an online link after one week with a 10-day expiry date. The Online Assessment was in HackerRank. The questions were 15 MCQ(Java Streams, Lambda, Spring, Sql and General Java) and 1 Hard coding. I couldn't solve the coding.

      Interview questions [1]

      Question 1

      there are n blacklisted ip regexes given as an array of strings, it consists of * or '.' eg: *.123.* mathces with "12.1.123.45" , "1.123.435.12", but not with "1.2.3.4". There are 'q' IP requests to be processed given as an array of IP address A request is blocked if it matches with any blacklisted regex ip or IP address that has sent at least 2 requests in the last 5 seconds which is not blocked return 1 if it will be blocked else 0 eg: blacklist =["*111.*" , "123.*" , "34.*"] q = 7 requests = ["123.1.23.34", "121.1.23.34", "121.1.23.34", "34.1.23.34","121.1.23.34", "12.1.23.34", "121.1.23.34"] output: [1,0,0,1,1,0,0]
      Answer question
      1

      Top companies for "Compensation and Benefits" near you

      avatar
      Equi
      3.5★Compensation and benefits