IBM Codeknack Coding Questions 2023 | IBM associate system engineer coding questions hackerrank: If you are looking for IBM Coding question which was asked in 27 November 2023 in ibm coding assessment then you are on right place, Here you will find all question which was asked in coding exam for associate system engineer.
We have added IBM test question in image and text format for better understanding.
Join Telegram Channel (43,230 Member)IBM Latest Interview Experience: Check here
IBM 27 November 2023 Coding Question 1:
Question 2: IBM 27 November 2023 Coding
For Second Question Click Here:
Question 3:
Subscribe Here For Daily Job Update:👇
Question 4:
Problem Statement in Text Format:
Guna: Euclidean distance between to points in a 2 dimensional space is defined as d = √[(2-1)2+(yz) where, (x1, y1) are the coordinates of one point, (x2, y2) are the coordinates of the other point and dis the distance between (x1, y1) and (x2, y2).
The mode in mathematics/statics refers to most frequently occurring element in a collection of elements eg in a collection of numbers [5, 8, 4, 2, 3, 3, 8, 3, 1, 3], the mode is 3 as the number 3 appeared most number of times(4 times) in the collection.
The goal is to first calculate the Euclidean distances between two given points, provided as a list of X-Y coordinates and finally find the mode of this distance list and return the value
Assume a list of point coordinates represented as list of list ((-11, 3), (8, 5), (-3, 2), (9,17)) The Euclidean distance between two consecutive points in the a
[11/27, 11:07] Guna: Network team has different types of outches and they use specific type of switches is the distribuon point, in data center, in beibo esc Each swash hara model number and port. Based on the model number and port they wil classily the switches is cype 1, type 2 and core switches. Can we help them in the classification?
Our aim is to get the model number and dassly the switch as type 1, type 2 or core switch
Model number of the switch can be in one of the following format below where X aeneus in alphabet and N denotes a number
NND-NX Eg: WS-C3850-24P-5, C5200-48P, C52001348 In the model C52000-24P-8X, 5200 is the made short, 24 is the port number and SK indicaus thar is stacked
Here are the rules for clasicetion
Any switch with inode numbers 5300 520 52270 and port count is not more than 24 are Type sretches Egg C5700-129
and partoumotana 1x
ses E S ly with with me moted numbers Step Le
If the solites an saca te-tran CESAS Here are few maled
Function Description
Complete the function datуботице в below The function must point the pot and type al switch
classilySwich fas the following pa
modelhunder strng
Constraints
If the model number is not the elem
ALL
0
34
Input Format For Custom Testing
Sample Case 0
Sample Input For Custom Testing
Sample Output
12
Type 1
Solution of Question 4:
Question 5:
Question 6:
IBM Software Developer Question: Click Here
For More IBM Codeknack Coding Questions 2023 Follow Us:
Join Telegram (Must) | Click Here |
Join Experienced Job Telegram | Click Here |
Follow Instagram Job Page Link: | Join Here |