I applied online. I interviewed at BGC Group (New York, NY) in Apr 2023
Interview
Leetcode easy and leetcode medium not that hard Talk about last projects experience Talk about the role and the team Ask your motivation and why changing jobs implement a queue data structure using stack. Be careful the stack.size() may not be a 0(1) operation
Interview questions [1]
Question 1
implement a queue data structure using stack. Be careful the stack.size() may not be a 0(1) operation
I applied through a recruiter. The process took 2 weeks. I interviewed at BGC Group (New York, NY) in Oct 2018
Interview
Contacted by an external recruiter. Do a coding exercise. Informed by recruiter that the hiring manager will do a phone interview. Phone interview consists of someone who works for the hiring manager giving standard on the fly coding questions. Trees, maps, etc. Afterwards the recruiter says the feedback was positive followed by ghosting by all involved.
Interview questions [1]
Question 1
Suppose you are given a text file containing pairs of city names, one pair per line, with the names on each line separated by a comma. The file might look something like (provided for illustration purposes only):
Philadelphia, Pittsburgh
Boston, New York
Hartford, New York
Los Angeles, San Diego
New York, Croton-Harmon
St. Petersburg, Tampa
Each line of the file indicates that it is possible to travel between the two cities named. (More formally, if we think of the cities as nodes in a graph, each line of the file specifies an edge between two nodes.) In the example above it is possible to travel between Boston and New York, and also between Hartford and New York, so it follows that Boston and Hartford are connected. On the other hand, there is no path between Boston and Tampa, so they are not connected.
Write a java program, called
Connected
, that reads in such a file and outputs whether two specified cities are connected. The program will be invoked from the command line as:
java Connected
<filename> <cityname1> <cityname2>
and will output a single line stating
yes
or
no
.
Here are some sample interactions, assuming the example file above is named
cities.txt
> java Connected cities.txt Boston Hartford
yes
> java Connected cities.txt Boston Tampa
no
> java Connected cities.txt Boston Ypsilanti
no
• Commas will not appear within city names in the file. For example, "Washington, D.C." will not appear in the file as a city name.
• Your choice of algorithms and data structures should allow the program to handle arbitrarily large files reasonably efficiently. You can, however, assume that the file will fit in memory.
• The program is permitted to return any or no output when given a malformed input file or malformed command line; however it should not crash or otherwise terminate abnormally.
• The file is considered to be a list of all connections, not all cities; a city not in the file is connected to no other city.
• Please let us know how to build it (e.g. supply a Makefile) so that we can build and test it ourselves.
• Multiple source files should be tarred/zipped together.
Note:
File sample above is provided for illustration purposes only, program should be able to detect connection where number of edges in the connectivity graph between cities is bigger than 2
The code should be production quality
I applied through a recruiter. The process took 3 days. I interviewed at BGC Group (New York, NY) in Jan 2011
Interview
3.5 hours for in-person interview. 4 interviewers in total. Each took 45 minutes approx.
.
Office average(for my comparison..i work for a company which got a new building in nyc). People - ok. More relaxed setting.(than dynamic).
Did not take me for lunch so i was hungry until 1:40pm in interview. One of the interviewer said since it is a public company they don't spend too much money on employees. Comment was not made regarding lunch but in general.
Again perception on first visit.
Interview questions [2]
Question 1
what is Virtual destructor,?
which unix signals cannot be blocked?
what happens on connect(socket) under the hood in TCP?