given the utitlies getFriend(User u) and areFriends(User u1, User u2), write the function which takes as parameter the array of users and return a bool saying if you can divide the users in 2 groups s.t. if u1 and u2 both belong to a certain group, they are not friends.
Softwareentwickler Backend Interview Questions
513,129 softwareentwickler backend interview questions shared by candidates
Given a sequence of integers and an integer total target, return whether a contiguous sequence of integers sums up to target.
1. K-th largest number in the array
Find unique characters in the string
If Mary is currently 50 yrs old and her mother is 76 yrs old. How many years back was her mother 3 times as old as Mary?
How to swap two variables without a temp
pgm for string length? and explain each part. of program.
Suppose you have a huge collection of integer values, in an array or a list or some similar data structure. Now suppose there are exactly two appearances of all integers, except one. In other words, each integer appears twice, in some random order, except 1. How would you find that 1 integer.
Check if two strings are Palindrome
2SUM problem and how to optimize it.
Viewing 2261 - 2270 interview questions