first round was coding round : 1. One string rotaion of other 2. Nearest largest and smallest prime value of given input. interview questions:What is difference between reference variable and pointer ?

Gyanendra Tiwari
1y

public class Main

{

//Find nearest large and small prime number

public static void main(String[] args) {

int start=6,dest=17;

int largest=Integer.MIN_VALUE;

int smallest=Integer.MAX_VALUE;

if(dest<2...read more

Gyanendra Tiwari
1y
public static boolean rotation(String s1,String s2){ if(s1.length()!=s2.length()){ return false; } Queue<Character> q1=new LinkedList<>(); for(int i=0;i<s1.length();i++){ q1.add(s1.charAt(i)); } Queue...read more
Help your peers!
Add answer anonymously...
Bentley Systems Intern Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter