Pergunta de entrevista da empresa Freshworks

1b) Generate binary numbers till given N.

Respostas da entrevista

Sigiloso

24 de fev. de 2017

public static void main(String[] args) { // TODO Auto-generated method stub int n=100; String[] a= new String[n]; a[0]="0"; a[1]="1"; for(int i=2;i

3

Sigiloso

23 de ago. de 2016

Gave a brute force solution, O(N^2).

3