Tutorials  Articles  Notifications  Login  Signup


Sign in to Publish articles, apply into jobs, participate in Hackathons.

Sign in


RK

Rajan Kumar

Founder at HackersFriend July 18, 2021, 12:59 p.m. 2231 views

What is HTTP header X-Forwarded-Host ?

The HTTP X-Forwarded-Host header is the part of HTTP header that contains information for identifying the original host requested by the …


VK

Vikash Kale

Programmer and Software Engineer at Tata Consultancy Services Jan. 8, 2021, 7:55 p.m. 5008 views

Program Code - calculate the absolute difference between the sums of its diagonals.

Given a square matrix, calculate the absolute difference between the sums of its diagonals.

For example, the square matrix  is shown …


VK

Vikash Kale

Programmer and Software Engineer at Tata Consultancy Services Updated Jan. 1, 2021, 6:24 p.m. 1865 views

TCS NQT/Digital coding program 2 - Write an program to count no of words, spaces, vowel and character.

Solution Code: -

sentence = input("Enter a sentence with few strings: ")
len_of_sentence = len(sentence)

vowel_list = ['a','e','i','o','u' …


VK

Vikash Kale

Programmer and Software Engineer at Tata Consultancy Services Updated Jan. 1, 2021, 6:25 p.m. 2397 views

TCS NQT/Digital Coding Program- 1 The product of Quadruplet

*A non-empty arrary A consisting of numeric values is given.

The product of quadruplet (P,Q,R,S) equates to …


RK

Rajan Kumar

Founder at HackersFriend Dec. 19, 2020, 3:13 p.m. 38371 views

How to install Python libraries without using the pip command ?

To install any python library without pip command, we can download the package from pypi.org in and run it's …


DG

Dhirendra Gupta

Student at BIT Mesra Oct. 12, 2020, 5 p.m. 2033 views

TCS NQT Practice Technical Questions set 4

91. If a common property is referred by many objects of same class, then that property must be declared as …


DG

Dhirendra Gupta

Student at BIT Mesra Oct. 12, 2020, 4:47 p.m. 7146 views

TCS NQT practice Technical Questions set 3

61. Recursion is executed in which order :

A. LIFO
B. FIFO
C. Random
D. All of the above

Ans. A …


DG

Dhirendra Gupta

Student at BIT Mesra Oct. 12, 2020, 1:44 p.m. 71570 views

TCS NQT Technical Questions set 2

31. What is the best case and worst case complexity of binary search ?

A. O(log n), O(n)
B …


DG

Dhirendra Gupta

Student at BIT Mesra Oct. 12, 2020, 1:22 p.m. 2084 views

TCS NQT Technical Questions set 1

1. In C, if you pass an array as an argument to a function, what actually gets passed?

A. Value …


HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

View more
HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

HackersFriend Updates




View more