Software Architect Interview Questions
- -2of 2 votes
AnswersGoogle Technical Support Number & Support Service
- roberthenry5678 September 06, 2018 in United States
For google related errors issues call on google customer service 1888-809-3891 toll free number for any google related problems such as how to reset gmail password,how to change google account youtube settings etc.For any google related help dial given toll free number for solution.
http://www.supportcarenumber.com/blog/how-to-you-contact-google-technical-support| Report Duplicate | Flag | PURGE
unknown Software Architect - 0of 0 votes
AnswersGiven two sorted integer arrays, find the median element. Note that for an even sized collection, median element is to be defined as the average of the central two elements.
- NoOne September 25, 2017 in India| Report Duplicate | Flag | PURGE
Goldman Sachs Software Architect Algorithm - 1of 1 vote
AnswersThe stock exchanges work with price matching. A seller comes with a price, and a buyer, given asking for the exact same price are matched, and in quantity.
- NoOne August 22, 2017 in India
Design a system that works.
Considerations:
1. More than a million buy/sale happens in a second.
2. One needs to show a ticker prices - last sold price of a stock.| Report Duplicate | Flag | PURGE
Myntra Software Architect Algorithm - 0of 0 votes
AnswersDesign a Shopping Cart. Come up with anything, how to ensure we scale, and how to ensure discount can be done.
- NoOne August 22, 2017 in India| Report Duplicate | Flag | PURGE
Myntra Software Architect Algorithm - 0of 0 votes
AnswersDesign a system java same as relational database.
For example,
You Have employee table as bellow:ID | Name | Manager | Salary
Now you can execute queries like :
select * from Employee where ID= ' something' select * from Employee where Name= ' something' select * from Employee where salary = ' something'
In same way you have a class Emplyee as bellow:
class Employee { String ID; String Name; String Salary; String Manager; }
Now I want to query on this class as same as the sql queries above,
- Ghosh August 17, 2015 in India
How can I do it efficiently?
The code should be optimized on time complexity and space complexity.| Report Duplicate | Flag | PURGE
Oracle Software Architect Algorithm Data Structures Java Object Oriented Design - 1of 1 vote
AnswersGiven array of marks and array of time taken to finish the question, and a passing mark P maximize on marks which will get you P but minimizing the time t.
- softwaregeek April 26, 2015 in United States for Bangalore
I tried to solve this by dividing the marks by time which will give factor of utilization of a particular question, and then partition the marks on P, and choose only marks less than P, try to sort the selected marks, time pair in small subset, and minimize on t. Is this a right approach.| Report Duplicate | Flag | PURGE
Microsoft Software Architect Algorithm - 0of 0 votes
AnswersPlease share your thoughts over this designing question (If you need any more info, pls. do let me know):
- SKJ January 20, 2015 in United States
GIVEN: Let's say we have a popular eCommerce site with lots of sellers and millions of products.
The system has a CatalogManager Service which is being called by various seller platforms to update info (attributes) about seller and it's products. For e.g. Seller can say 'Hey, my brand name has changed to New_Brand', 'Hey, My Product P1 weight has changed to 6kg'. The catalog manager service has it's own datastore and cache in place where it goes and update accordingly. Imagine the sclae of these update requests to be very high as we have thousands of sellers and millions of products and each may have 50-60 attributes which could be chaned. The CatalogManager service is able to handle all these updates smartly.
TO DESIGN:
There are various other back-end services (ShippingService, SearchService) in the system who must me notified about these changes in REAL TIME. For e.g. ShippingService must be notified by CatalogManager that 'Hey, Product P1 of seller S1 weight has changed to 6 kg'. Other example, SearchService must be notified that 'Hey, Seller S1 brand name has changed to New_Brand' so that it can change it's index to be searched.
* Design such a system which can scale & is fault tolerant ensuring all edge cases including one mentioned below:-
* Every back-end service may not be interested in all the events. It may only wish to listen subset of attributes. E.g. ShippingService may only want if product dimension related attributes change. So how will you ensure that only related messages reach to consumer services?
* How will you ensure that event message published by producer service (CatalogManager) reacheed to the related consumer service for sure and in REAL TIME?
* How can you ensure the messages passed to backend services are in sync (in order it's important)
* How to ensure that same event is not messaged twice to the consumers? Although, eventually it will result in same data state but still looking at scale of the events this would be a burden to backend system
How would you design such a system?| Report Duplicate | Flag | PURGE
Software Architect System Design - 0of 0 votes
Answersif an application hung in customer box , how to whether that is due to dead lock?
- gopi.komanduri November 06, 2014 in United States
i suggested to take .dmp file and use windbg etc , but he said , he dont have that much time to take dump file etc. I suggested process explorer tool and if application hang , the top call in more than one thread will be like wait call. but he said he is looking for some other tool.
so any thoughts??| Report Duplicate | Flag | PURGE
Adap.tv Software Architect Debugging Experience unix system programmin unix system programming - 0of 0 votes
AnswersGiven data of set of persons {data contains his name , number , address} , and also , each person has 4 ranks. One is global rank , one is region rank , one is centre rank and one is family rank. each rank is independent of other. Design algorithm n ds , to accomodate this requirement. operations that can be done are , change of ranks , insert new person , . searching on rank wise {can be any rank}.
- gopi.komanduri July 20, 2014 in India
suggestions on this please.| Report Duplicate | Flag | PURGE
Software Architect Algorithm - 0of 0 votes
AnswersHow would one design a multi format converter that supports reading data from multiple data sources(web service, local disk, etc.). The data from the sources can be in multiple formats. The reader for each format may be different and how does one serialize this abstract data to multiple formats like image, xml etc. New readers, writers and data sources can be added later during implementation.
- sukhvinder.pal April 24, 2014 in India| Report Duplicate | Flag | PURGE
Goldman Sachs Software Architect Object Oriented Design - -6of 6 votes
AnswersThis code is written in vb.net language for XO game between two players , TIC TOE
- Eliana December 23, 2013 in United States for personnel interview
I WANT A LITTLE EXPLANATION FOR EACH MAIN LINE IN THE CODE ..
Here is the cod>>
>
>
Public Class Form1
Dim player1, player2 As String
Dim CurrPlayer As Char
Dim winner As Char
Dim win As Boolean = False
Dim Endgame As Boolean = False
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
CurrPlayer = "O"
player1 = InputBox("First Player Name:")
player2 = InputBox("Second Player Name:")
lblPlayer1.Text = lblPlayer1.Text + player1
lblPlayer2.Text = lblPlayer2.Text + player2
End Sub
Public Function turn() As Char
If CurrPlayer = "X" Then
CurrPlayer = "O"
ElseIf CurrPlayer = "O" Then
CurrPlayer = "X"
End If
Return CurrPlayer
End Function
Public Function CheckWin() As Boolean
If btn1.Text <> "" And btn1.Text = btn2.Text And btn2.Text = btn3.Text Then
winner = CurrPlayer
win = True
ElseIf btn1.Text <> "" And btn1.Text = btn5.Text And btn5.Text = btn9.Text Then
winner = CurrPlayer
win = True
ElseIf btn1.Text <> "" And btn1.Text = btn4.Text And btn4.Text = btn7.Text Then
winner = CurrPlayer
win = True
ElseIf btn2.Text <> "" And btn2.Text = btn5.Text And btn5.Text = btn8.Text Then
winner = CurrPlayer
win = True
ElseIf btn3.Text <> "" And btn3.Text = btn5.Text And btn5.Text = btn7.Text Then
winner = CurrPlayer
win = True
ElseIf btn3.Text <> "" And btn3.Text = btn6.Text And btn6.Text = btn9.Text Then
winner = CurrPlayer
win = True
ElseIf btn4.Text <> "" And btn4.Text = btn5.Text And btn5.Text = btn6.Text Then
winner = CurrPlayer
win = True
ElseIf btn7.Text <> "" And btn7.Text = btn8.Text And btn8.Text = btn9.Text Then
winner = CurrPlayer
win = True
End If
Return win
End Function
Public Sub newGame()
For Each c As Control In Me.Controls
If c.GetType Is GetType(Button) Then
c.Text = ""
End If
Next
CurrPlayer = "O"
win = False
End Sub
Public Sub displayWinner()
If CheckWin() Then
If CurrPlayer = "X" Then
MessageBox.Show("Congratulations, the winner is " + player1, "Congratulations", MessageBoxButtons.OK, MessageBoxIcon.Information)
newGame()
Else
MessageBox.Show("Congratulations, the winner is " + player2, "Congratulations", MessageBoxButtons.OK, MessageBoxIcon.Information)
newGame()
End If
End If
End Sub
Public Sub CheckEven()
Dim empty As Boolean = False
For Each c As Control In Me.Controls
If c.GetType Is GetType(Button) Then
If c.Text = "" Then
empty = True
End If
End If
Next
If empty <> True Then
MessageBox.Show("Players are Even", "Neutral Game", MessageBoxButtons.OK, MessageBoxIcon.Information)
newGame()
End If
End Sub
Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click
If btn1.Text = "" Then
btn1.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn2.Click
If btn2.Text = "" Then
btn2.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn3.Click
If btn3.Text = "" Then
btn3.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn4.Click
If btn4.Text = "" Then
btn4.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn5.Click
If btn5.Text = "" Then
btn5.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn6.Click
If btn6.Text = "" Then
btn6.Text = turn()
displayWinner()
End If
End Sub
Private Sub btn7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn7.Click
If btn7.Text = "" Then
btn7.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn8.Click
If btn8.Text = "" Then
btn8.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
Private Sub btn9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn9.Click
If btn9.Text = "" Then
btn9.Text = turn()
displayWinner()
CheckEven()
End If
End Sub
End Class| Report Duplicate | Flag | PURGE
Epic Systems Software Architect - 0of 0 votes
AnswersDesign a online catalog system.
- vij.virtuous July 11, 2013 in India
1. Catalog will have a list of Departments(sub-catalog) . Each department will have a list of products or sub-catalog.
2. Each product may have many Sub units(eg color price etc)
Eg :
Depart1 -> Groceries , Furniture
subment1 -> pen, pad
pen -> red & black
Also at anytime if we need to add discount that also should be possible.
If anyone come across can help me in this...| Report Duplicate | Flag | PURGE
Sapient Corporation Software Architect Object Oriented Design - 0of 0 votes
AnswersInput: Consider a file containing a list of 100,000 license plate numbers which follow the format ABC-123 and could be any value ranging from AAA-001 to ZZZ-999.
- racejakebannon June 30, 2013 in India
This data is expected to be read-in and stored in memory based on following requirements:
• The list can be reconstructed using the stored data. Original sequence does not need to be maintained.
• Perform searches efficiently on the stored data using the first 3 characters of the number as given below :
• List all licenses starting with ‘MMM’
• Count the total number license numbers starting with ABC| Report Duplicate | Flag | PURGE
Microsoft Software Architect Algorithm - -1of 1 vote
AnswersIs there any difference between the usage of void pointer and unsigned int ? if yes what the advantage of one over other?
- hprem991 March 19, 2013 in United States
Guys I havn't thought guys commenting here are idiots as well. so please read the detail explanation for it in my below comment. :)| Report Duplicate | Flag | PURGE
Software Architect C - 0of 0 votes
AnswersDesign LRU in C++
- hprem991 March 18, 2013 in India| Report Duplicate | Flag | PURGE
StartUp Software Architect Algorithm C++ - 0of 0 votes
AnswerDesign Garbage Collector in C++.
- hprem991 March 18, 2013 in India| Report Duplicate | Flag | PURGE
StartUp Software Architect Algorithm C++ - 0of 0 votes
AnswersDesign a Tic Tac Toe Game. Classes Segregation and Code Flow.
- hprem991 March 18, 2013 in India| Report Duplicate | Flag | PURGE
StartUp Amazon Software Architect Software Engineer / Developer Algorithm Android Application / UI Design Arrays Assembly Automata Behavioral Bit Manipulation Brain Teasers C C++ Object Oriented Design