/
Advanced_Exercises(Semicolon-Style_comments).txt
69 lines (58 loc) · 2.91 KB
/
Advanced_Exercises(Semicolon-Style_comments).txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; How to practice a language !
; Here are some exercises to help you improving your skills in any programming language.
; The purpose of this exercise sheet is to allow anybody learning a new language to practise. Exercises are ordered by difficulty.
; The exercises are taken from practical session of EPITA's first year.
; Document will be updated with new exercises and corrections are available for some languages.
; Since I am far from knowing every programming language, some exercise may not be as easy as they could be.
; Feel free to send me corrections for languages that are not available yet,
; new exercises ideas or any mistakes that I could have made !
; Nothing will be clearly explained, you will just have exercises and corrections.
; You need to look for answers on the internet (stackoverflow.com is good for example) and search by yourself.
; Tutorials are available all around the internet, but searching by yourself helps you learning about things
; you were not looking for !
; Good luck :)
; Create a new project for the language you want to learn and add this file with the
; right extension (.c for c, .cpp for C++, .cs for C#, etc.) regarding the language.
; You will need to add the corresponding headers/library/etc.
; -------------------------------------------------------------------------------------------------------------
; Advance Question:
; These are question from actual interview with large companies.
; Microsoft Interview Question:
; Write a Function to Reverse the word order of String
; Sample: "This is a Cat" -> "Cat a is This"
; Facebook Interview Question:
; Write a Function which proves if a String is a Palindrome
; Note: Word which is read the same Backward as Forward
; Facebook Interview Question:
; Given a List of Arrays, write a Function which will
; Return True if Two of the Number equal 12
; Microsoft Interview Question:
; With a given Array (Multidimensional Array) find location
; Zero & Replaces all Columns & Rows with Zero
; Sample:
; Input:{ 1, 2, 3, 4 }
; { 5, 6, 7, 8 }
; { 9, 10, 0, 11 }
; { 12, 13, 14, 15 }
; Output: { 1, 2, 0, 4 }
; { 5, 6, 0, 8 }
; { 0, 0, 0, 0 }
; { 12, 13, 0, 15 }
; HackerRank Data Structure & Algorithm Questions
; You are given an array of integers of size N . You need to print
; the sum of the elements of the array.
; HackerRank Data Structure & Algorithm Questions:
; Your teacher has given you the task to draw the structure of a staircase.
; Being an expert programmer, you decided to make a program for the same.
; You are given the height of the staircase. You need to print a
; staircase as shown in the example.
; Output:
; #
; ##
; ###
; ####
; #####
; ######
; FIXME: Classes
; Build a simnple Console Notebook application which can record Notes,
; take Tags, modify list (sort by alphabetical...) and other sort of features