Student Interview Questions
- 0of 0 votes
Answersare these legal drugs good for me?
- psychemax77 August 12, 2022 in United States| Report Duplicate | Flag | PURGE
Student Area Sales Manager - 0of 0 votes
Answershow legal drugs help me to live a proper life.
- psychemax77 August 12, 2022 in United States| Report Duplicate | Flag | PURGE
Student Area Sales Manager - 0of 0 votes
Answershow I reduce my mental stress through any legal drug just because I am under drug addiction.
- psychemax77 August 12, 2022 in United States| Report Duplicate | Flag | PURGE
Student Area Sales Manager - 0of 0 votes
AnswersSum of series (n/1) + (n/2) + (n/3) + (n/4) +…….+ (n/n). 1 <= n <= 10^12
- kritirohilla567 September 25, 2020 in India| Report Duplicate | Flag | PURGE
Student SDE1 - 0of 0 votes
AnswersThere is a dictionary already implemented. Write a method , which takes input String without space, to replace the characters from the strings which are not present in dictionary with –
- dineshchowdary1339 May 15, 2020 in India for Andhra Pradesh
Example: Dictionary – a*
………….Input- aaabaa
………….Output- aaa_aa| Report Duplicate | Flag | PURGE
Student - 0of 0 votes
AnswersHi, first of all I want to say thanks to Gayle for the awesome work on the book and online resources. I was reading the introduction section of CtCI and I have a doubt regarding the "remote" preparation to the interview. I see that getting an internship as soon as possible seems to be very important, but I don't understand one thing.
- crackingtothegate February 11, 2020
If one is not able to land an internship at a top company like Google or Microsoft early on, would it be better to still do one at a worse company (like a "consulting" firm or less renown company) or at this point dedicating to personal projects that are more interesting that the job you would do there would be evaluated more?
Also, how should a student not in his final year prepare to be admitted to an internship? I've read that internship selection processes can be pretty selective already, and you wouldn't even have the previous internships as a plus on your resume.| Report Duplicate | Flag | PURGE
Student Experience - -1of 1 vote
Answers
- shitanshu.tripathi1 July 25, 2019 in IndiaGiven three integers x,y and z you need to find the sum of all the numbers formed by having 4 atmost x times , having 5 atmost y times and having 6 atmost z times as a digit. input x=1,y=1,z=1 output 4+5+6+45+54+56+65+46+64+456+465+546+564+645+654=3675
| Report Duplicate | Flag | PURGE
Student - 0of 0 votes
Answers
- shitanshu.tripathi1 July 25, 2019 in United StatesGiven three integers x,y and z you need to find the all the possible combination of numbers having 4 at most x times, having 5 at most y times and having 6 at most z times as a digit. input x=1,y=1,z=1 output 4 5 6 45 54 56 65 46 64 456 465 546 564 645 654
| Report Duplicate | Flag | PURGE
Student - 0of 0 votes
Answeryou are provided a binary array, and a integer k, choose any k bits of array at a time and flip all the bits, maximize the number of '1's in array.
- aaa June 11, 2019 in United States| Report Duplicate | Flag | PURGE
unknown Student - -2of 2 votes
AnswersWhich is best coaching in Kota for IIT JEE Preparation?
- anshikashukla.gigabyte May 20, 2019 in India| Report Duplicate | Flag | PURGE
Student IIT Exam - -2of 2 votes
AnswersHow to bring back ex lost love back with in 24 hours
- EleciaHadley February 12, 2018 in United States for student| Report Duplicate | Flag | PURGE
Student xyz unix system programmin - 0of 0 votes
AnswerIf I need to read .txt file (inside +4000 words) and print 100 most repeated which structure is the easiest:
- bomanob January 17, 2018 in Sweden
hash table?
binary tree?
linked list?
Thanks| Report Duplicate | Flag | PURGE
Student Software Engineer C - 0of 0 votes
AnswerHi, my question is about linked list? If I read .txt file (there is 5000 words inside) in to linked list. Is it possible to print 100 mostly repeated words and print them ??
- bomanob January 17, 2018 in Sweden
example:
cat cat dog dog dog
dog3
cat 2
Thank you in advance for any help you can provide.| Report Duplicate | Flag | PURGE
Student Software Engineer C - 9of 11 votes
Answers(Q2)what is output and explain why?
- kundankristo September 07, 2017 in India
struct abc
{
double d;
char c;
int b;
}st;
int main()
{
int i=sizeof(st);
printf("%d",i);
}| Report Duplicate | Flag | PURGE
Student Software Engineer in Test C - -2of 2 votes
Answerplease help me ...i am confused
- kundankristo September 07, 2017 in India
(Q1)what is output and explain why?
struct abc
{
char c;
double d;
int b;
}st;
int main()
{
int i=sizeof(st);
printf("%d",i);
}
......................................................................................................................................................................................................| Report Duplicate | Flag | PURGE
Student Software Engineer in Test C - 0of 0 votes
AnswersGiven an array with +ve and -ve integer, find the maximum sum such that you are not allowed to skip 2 contiguous elements ( i.e you have to select at least one of them to move forward).
- Smart August 25, 2017 in United States
Test Cases:
10 , 20 , 30, -10 , -50 , 40 , -50, -1, -3
Output : 10+20+30-10+40-1 = 89
-1,-2,-3,-4,-5
Output: -2-4=-6| Report Duplicate | Flag | PURGE
Student freshers Python - 0of 0 votes
AnswersProblem Statement
- pradeepkumsi July 11, 2017 in India
Jane's two little cousins are visiting her for the holidays. As you may know, children love candy, so Jane has bought several boxes of sweets for them. Each box contained an assorted collection of candy of different types.
At some point Jane realized that giving each child some of the boxes is not a good idea: if they receive different candies, it will certainly cause a quarrel. Therefore, Jane decided to open all the boxes, take out all the sweets and distribute them evenly into two plastic bags.
Of course, distributing a pile of assorted candies evenly may not always be possible. Sometimes it happens that the number of pieces of some particular type of candy is odd. In that case Jane will eat one of those sweets and only then will she distribute the rest of them evenly into the bags.
You are given the String[] boxes. Each element of boxes describes the contents of one of the boxes Jane bought. Each character in each element of boxes represents one piece of candy. Equal characters are candies of the same type: e.g., all 'B's are identical bonbons and all 'L's are identical lollipops.
Compute and return the number of candies each child will receive.
Definition
Class: JanesCandyBags
Method: getSize
Parameters: String[]
Returns: int
Method signature: int getSize(String[] packets)
(be sure your method is public)
Constraints
- boxes will contain between 1 and 50 elements, inclusive.
- Each element of boxes will contain between 1 and 50 characters, inclusive.
- Each character in boxes will be an uppercase letter of the English alphabet ('A'-'Z').
Examples / Test cases
0)
{"FOO", "BAR", "BAZ", "TOPCODER"}
Returns: 5
In this case Jane will eat the 7 candies that only occur once in the entire collection. The remaining 10 candies can be split evenly: each bag will contain two 'O's, one 'A', one 'B', and one 'R'. Thus, each child will receive 5 candies.
1)
{"X"}
Returns: 0
Jane will eat the only piece of candy. Then she will give each child an empty bag.
2)
{"GIVING", "CANDY", "TO", "CHILDREN", "CANNOT", "BE", "CHALLENGING", "RIGHT"}
Returns: 17
The candies in each bag here are: ACCDEGGHIILNNNORT
3)
{"WITHOUT", "IT", "IM", "JUST", "ESPR"}
Returns: 5
4)
{"PHQGHUMEAYLNLFDXFIRCVSCXGGBWKFNQDUXWFNFOZVSRTKJPRE",
"PGGXRPNRVYSTMWCYSYYCQPEVIKEFFMZNIMKKASVWSRENZKYCXF",
"XTLSGYPSFADPOOEFXZBCOEJUVPVABOYGPOEYLFPBNPLJVRVIPY",
"AMYEHWQNQRQPMXUJJLOOVAOWUXWHMSNCBXCOKSFZKVATXDKNLY",
"JYHFIXJSWNKKUFNUXXZRZBMNMGQOOKETLYHNKOAUGZQRCDDIUT",
"EIOJWAYYZPVSCMPSAJLFVGUBFAAOVLZYLNTRKDCPWSRTESJWHD",
"IZCOBZCNFWLQIJTVDWVXHRCBLDVGYLWGBUSBMBORXTLHCSMPXO",
"HGMGNKEUFDXOTOGBGXPEYANFETCUKEPZSHKLJUGGGEKJDQZJEN",
"PEVQGXIEPJSRDZJAZUJL"}
Returns: 203| Report Duplicate | Flag | PURGE
Student Software Trainee - -6of 6 votes
AnswersNeed special expensive recommendations for article?
- emanuelmaruio June 28, 2017 in United States for 123
Howdy I am research understudy. I need to complete my exposition composing paper. I need one of a kind substance. I know composing work is exceptionally muddled errand. Paper composing is vital for all understudies now a day's understudies look for expositions on the web. It will be give great expositions for scholastic work and Project works for understudies. So I completely look on online best article composing administration. It is giving incredible potential outcomes of composing papers. Feel free to surf (https://www.collegepaperwritingservices.com)| Report Duplicate | Flag | PURGE
Student test - 0of 0 votes
AnswersProgramming Exercise – FX Calculator
- princerajesh.indukuri May 06, 2017 in India
Your task is to create a console-based currency converter application.
Requirements
The application allows a user to convert an amount in a specific currency to the equivalent amount in another currency.
Your calculator should allow a user to enter an amount in any of the known currencies, and provide the equivalent amount in another currency.
Your calculator should parse console input like "<ccy1> <amount1> in <ccy2>", and provide a suitable response.
For example:
%> AUD 100.00 in USD
AUD 100.00 = USD 83.71
%> AUD 100.00 in AUD
AUD 100.00 = AUD 100.00
%> AUD 100.00 in DKK
AUD 100.00 = DKK 505.76
%> JPY 100 in USD
JPY 100 = USD 0.83
If the rate cannot be calculated, the program should alert the user:
%> KRW 1000.00 in FJD
Unable to find rate for KRW/FJD
When displaying amounts back to the user, they should be formatted with the precision given below:
AUD=2 decimal places| Report Duplicate | Flag | PURGE
Student Student Java - 0of 0 votes
Answerscenario: Many Ethernet switches are present, on which we want to run the test on. connection between several links to our traffic generator and various ports of the different switches is established.The physical ports we use may vary between the different switches.
- prashanth.mctian February 23, 2017 in United States
Test: We need an easy way to reference port settings that apply to every switch, irrespective of the physical port to which the traffic generator is connected.
required to code in Java or python or tcl script.
asked in second round of cisco| Report Duplicate | Flag | PURGE
Student Student - 0of 0 votes
AnswersFor a linked List p1 ->p2 ->p(n-1)->p(n) shuffle it to be p(1) -> p(n) ->p(2) ->p(n-1)....p(n/2)
- krish December 03, 2016 in United States| Report Duplicate | Flag | PURGE
Student freshers - 0of 0 votes
AnswerGiven the Java 8 Function interface:
- krish December 03, 2016 in United States
interface Function<T,R> {
R apply<T t>;
}
Provide code that will apply the composition of the following implementations and would have the type
Function<String, Integer>:
class GetBytes<String, byte[]> {
byte[] apply<String value> {
return value.getBytes<>;
}
}
class ArrayLength<byte[], Integer> {
Integer apply<byte[] value> {
return value.length;
}
}
If the input is “hello world” what would the expected result of the function be?| Report Duplicate | Flag | PURGE
Student freshers Algorithm - 0of 0 votes
AnswersFunction to find if the characters of the sample string is in the same order in the text string. They need not be
- krish December 03, 2016 in United States
consecutive.
Eg.. TextString: Redmond, Washington
Sample string :Rdd Waitn| Report Duplicate | Flag | PURGE
Student freshers Programming Skills - 0of 0 votes
AnswersDiscuss three strategies for financing working capital
- kenlykahemba October 05, 2016| Report Duplicate | Flag | PURGE
Student Business Question - 0of 0 votes
AnswersDiscuss why cash is considered as a life blood for any business
- kenlykahemba October 05, 2016| Report Duplicate | Flag | PURGE
Student Business Question - 0of 0 votes
AnswersExplain what is meant by credit management
- kenlykahemba October 05, 2016| Report Duplicate | Flag | PURGE
Student Business Question - 0of 0 votes
AnswersPrint the lucky numbers which contains "4" and "7" from the series 4, 7, 44, 47, 74, 77
- Siva Vishal July 03, 2016 in India
ex
input 5
o/p 74| Report Duplicate | Flag | PURGE
Zoho Student - 0of 0 votes
AnswersPrint the element in anti spiral order
- Siva Vishal July 03, 2016 in India
for example
Matrix
1 2 3
4 5 6
7 8 9
o/p
5 6 9 8 7 4 1 2 3| Report Duplicate | Flag | PURGE
Zoho Student Arrays - -1of 3 votes
AnswersA man just finished painting his house and needs something more. At the hardware store the clerk shows him what he wants and says "one is $1".
- WonderWoman June 04, 2016 in United States
The man states I need 600 for $3. What did the man buy?| Report Duplicate | Flag | PURGE
Epic Systems Student Algorithm