Data Scientist Interview Questions
- 0of 0 votes
AnswersAvijit and Jeff holds spoon and fork in the following order
- rohin.tn June 15, 2022 in United States
[('Avijit', 'spoon'), ('Avijit', 'spoon'), ('Avijit', 'fork'), ('Jeff', 'spoon')]
Implement a logic which gives the following output
(explanation: Between Avijit there are 2 unique utensils (fork and spoon), while between jeff and jeff and jeff and Avijit there is only one unique utensil)
[('Avijit', 'Avijit', 2), ('Avijit', 'Jeff', 1), ('Jeff', 'Jeff', 1)]| Report Duplicate | Flag | PURGE
Facebook Data Scientist - 0of 0 votes
AnswersThere are 4 closed boxes and one of them has $100 inside. You can open one of the boxes if you pay x dollars.
- sashanksatya January 30, 2019 in United States
If the box you opened is empty, you can keep on opening boxes, but you need to pay x dollars every time.
Up to what amount would you pay?| Report Duplicate | Flag | PURGE
unknown Data Scientist Probability - 0of 0 votes
AnswersWe have a quote file with millions of entries. Design a system to read from the system and return a random quote always with O(1) time. We can read the file once and can keep in memory but should not re read the same. Also when you restart your system, it should preserve and work with O(1) complexity.
- johnsvakel March 26, 2018 in India| Report Duplicate | Flag | PURGE
Adobe Data Scientist Large Scale Computing Math & Computation Object Oriented Design - 0of 0 votes
AnswerWhat is the greatest common factor of all integers of the form p^4 + 1where is a prime number greater than 5?
- D PRAVEEN KUMAR February 09, 2018 in India| Report Duplicate | Flag | PURGE
Skill Subsist Impulse Ltd Data Scientist Brain Storming - 0of 2 votes
AnswersWrite a program to print all the columns of a binary tree from left to right and top down.
- mvatankh@stevens.edu February 07, 2018 in United States| Report Duplicate | Flag | PURGE
Facebook Data Scientist - 0of 0 votes
AnswersPrint 0 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1
- D PRAVEEN KUMAR December 05, 2017 in India
Follow the below rules
Intialiazation should not be done by 0 i.e. I= 0 should not be done
Only one time a loop or tertiary conditions or increment or decrement should be done
No nested loops or nested conditions only 1 loop or 1 condition should be used
Ex if() or for {}
One loop and 1 condition can't be use.. u can use either this or that| Report Duplicate | Flag | PURGE
Skill Subsist Impulse Ltd Data Scientist Algorithm - 0of 0 votes
AnswersWrite a program to print the list of the maximum repeating number from an array.
- D PRAVEEN KUMAR April 11, 2017 in India
Example:
Input:: a[]={1, 2, 1, 0, 5, 2, 4, 2, 3, 0, 1, 3, 2, 4}
output: 2, 1, 0, 4, 3, 5| Report Duplicate | Flag | PURGE
Skill Subsist Impulse Ltd Data Scientist C - 0of 0 votes
AnswersWrite a C program to check biggest among two numbers without using any relational operators
- D PRAVEEN KUMAR August 30, 2016 in India| Report Duplicate | Flag | PURGE
Skill Subsist Impulse Ltd Data Scientist C - -3of 3 votes
Answersdsjfvbhfgvbfhv
- New Grad August 01, 2016 in United States| Report Duplicate | Flag | PURGE
Accenture Data Scientist Algorithm - 0of 0 votes
AnswersWrite a algorithm to find the unsold item in the Amazon
- vijaybihari1 June 20, 2016 in United States| Report Duplicate | Flag | PURGE
Amazon Data Scientist - 1of 1 vote
AnswersA company is trying to find best possible optimal solution for servicing his customer base of 300 with 12 employee.
- learner November 07, 2015 in United States
They want a technology solution that tells how they will be able to meet customer requirement as business will grow and other changes like location of customer changes, new locations added and so on.
Problem is basically a form of Travelling Salesman Problem ( TSP ) or Vehicle Routing problem ( VSP ). Following things need to be completed here.
1> Explain logistics involved in this problem into succinct business definition.
2> Different approach with which problem can be solved
3> One implementation of the problem ( proof of concept ), using customer base coordinates mentioned below. ( 0,0 ) is considered the company coordinate which is the starting point. ( preferably Java )
Here are coordinates with which working solution is expected provided in a text file as input:
X coordinate Y Coordinate
420 278
421 40
29 178
350 47
298 201
417 186
378 134
447 239
42 114
45 199
362 195
381 243
429 1
338 209
176 9
364 26
326 182
500 129
190 51
489 103
368 142
132 260
305 200
446 137
375 154
440 190
9 118
437 32
383 266
282 51
366 19
465 173
93 210
257 185
316 242
315 141
236 14
352 155
311 106
300 261
66 154
172 245
376 16
152 283
41 259
278 158
299 102
81 178
178 218
344 150
269 172
379 710
301 611
287 295
392 258
259 333
427 273
411 233
355 707
439 717
298 390
338 547
407 697
287 220
355 524
365 228
257 632
294 395
315 626
275 268
346 724
324 230
436 310
279 240
317 601
274 661
294 483
350 234
328 689
656 765
778 792
724 797
686 723
784 785
730 756
775 731
777 647
881 498
634 906
588 709
884 867
837 670
513 477
414 794
387 798
430 587
638 18
26 497
721 765
595 706
985 962
619 125
106 252
198 104
554 91
11 875
757 386
378 253
719 878
561 969
36 821
179 442
31 814
710 103
8 168
401 304
913 921
983 250
100 727
0 425
114 900
337 977
709 808
107 435
442 488
68 42
826 967
771 399
460 831
520 83
530 406
727 406
58 195
732 240
512 974
438 366
184 954
423 905
549 923
433 292
395 237
764 73
698 503
146 536
200 211
48 38
31 39
60 37
41 38
71 37
54 39
23 35
73 38
67 33
45 39
47 34
69 30
39 34
52 38
28 30
949 892
959 909
966 930
993 923
925 887
946 888
998 951
931 894
966 839
959 812
986 965
946 979
927 800
979 803
987 980
983 975
993 858
936 851
998 912
993 939
997 916
1000 832
975 898
919 882
916 883
980 974
975 902
996 808
999 864
991 829
995 985
982 926
13 690
23 525
10 864
15 283
2 149
3 580
8 299
16 361| Report Duplicate | Flag | PURGE
Adobe Data Scientist - 0of 0 votes
AnswersCreate a function Demo that takes input a function f and a parameter k, and returns a function that behaves the same as f except it caches the last k distinct accessed results of f.
- cv September 23, 2015 in India
Demo_f = Demo(f,2)
demo_f(arg1) - computed and cached
demo_f(arg1)- returned from cache
demo_f(arg2) - computed and cached
demo_f(arg3) - computed and cached, f(agr1) is evicted
I think its related to python decorators. Some one can give a hint how can I get started with this| Report Duplicate | Flag | PURGE
StartUp Data Scientist Coding - 0of 0 votes
AnswersYou are given a vector of strings. They have some encoded information regarding location of a hostage. You know that each location in encoded message starts with _123 and ends with _dad. You have to find all such unique enocded locations in the text.
- ritwik_pandey August 25, 2015 in United States
I want to use regex to find the solution to this problem in C++. Can someone provide code for the same.| Report Duplicate | Flag | PURGE
Adobe Data Scientist - 0of 0 votes
AnswersLet's say you are getting a pack of 2 chips, and you know that both chips are coming from the same , either good or bad company, with equal probability. If you test a first chip and it appears to be good chip, what is the probability that second chip is also good? And at least is this probability is greater than 50% or not?
- leontol May 14, 2015 in United States| Report Duplicate | Flag | PURGE
xyz Data Scientist Probability - 0of 0 votes
AnswersThere are 2 companies making electronic chips: good and bad. Good company is making good chips with probability 80 % and defective chips with probability 20 %, and bad company is making good chips with probability 20 % and defective chips with probability 80 %. If you are getting just one chip, and the probability that it is coming from either of companies is the same, what is the probability that it is good chip?
- leontol May 14, 2015 in United States| Report Duplicate | Flag | PURGE
xyz Data Scientist Probability